projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
add config files
[m6w6/ext-psi]
/
tests
/
pipe
/
pipe.psi
diff --git
a/tests/pipe/pipe.psi
b/tests/pipe/pipe.psi
index 5bc3cd655184bd09bd12f9c7949218df328ef552..fd7e3ff1770e975a7e8ce4763acf2daa8432235b 100644
(file)
--- a/
tests/pipe/pipe.psi
+++ b/
tests/pipe/pipe.psi
@@
-3,6
+3,6
@@
extern int pipe(int fds[2]);
function \pipe(array &$fds = null) : int {
return to_int(pipe);
- let fds = calloc(2,
int
);
- set $fds = to_array(fds);
+ let fds = calloc(2,
psi\SIZEOF_INT
);
+ set $fds = to_array(fds
[2]
);
}