projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
parser: accept trailing comma in enums; __restrict for arrays
[m6w6/ext-psi]
/
psi.d
/
glob.psi
diff --git
a/psi.d/glob.psi
b/psi.d/glob.psi
index 8fc3b0b31c0302a728338c47034a66a42573ff5d..1fd6b15c9bb6f8677a96c232acb0802877ee50f1 100644
(file)
--- a/
psi.d/glob.psi
+++ b/
psi.d/glob.psi
@@
-1,3
+1,5
@@
+#include <glob.h>
+
function psi\glob(string $pattern, int $flags, array &$glob = NULL, callable $errfn = NULL) : int {
let path = strval($pattern);
let flags = intval($flags);