projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix awk re
[m6w6/ext-psi]
/
psi.d
/
stdio.psi
diff --git
a/psi.d/stdio.psi
b/psi.d/stdio.psi
index 685d6c8dda4d0298b6f7fd4f68e89eebc0c1370e..6909354f4be5f2e4dcead79393b704c58937f32f 100644
(file)
--- 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);
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);
}
// 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);
}
let format = strval($fmt);
return to_int(printf);
}
+