X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Fstdio.psi;h=6909354f4be5f2e4dcead79393b704c58937f32f;hp=685d6c8dda4d0298b6f7fd4f68e89eebc0c1370e;hb=e8a409b21cb50f5931ab02ce6ab4f4406be94394;hpb=94a98b74d920f4eefea55c41fa0b047f27aaf854 diff --git a/psi.d/stdio.psi b/psi.d/stdio.psi index 685d6c8..6909354 100644 --- a/psi.d/stdio.psi +++ b/psi.d/stdio.psi @@ -2,7 +2,7 @@ function psi\fopen(string $path, string $mode) : object { let path = pathval($path); let mode = strval($mode); - return to_object(*fopen); + return to_object(fopen); } // extern int fclose(FILE *stream); @@ -70,3 +70,4 @@ function psi\printf(string $fmt, mixed ...$args) : int { let format = strval($fmt); return to_int(printf); } +