projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
psi.d
/
getopt.psi
diff --git
a/psi.d/getopt.psi
b/psi.d/getopt.psi
index 5f5bae6fcb67d6ac3224e55b94837d8b6589a502..5e1e427ce50cec30c22d678b954bb9815c4e131b 100644
(file)
--- a/
psi.d/getopt.psi
+++ b/
psi.d/getopt.psi
@@
-1,5
+1,6
@@
-function psi\opterr() : int {
- return to_int(opterr);
+function psi\opterr(int $value) : void {
+ let _v = intval($value);
+ return void(opterr_set);
}
function psi\optind() : int {
return to_int(optind);
}
function psi\optind() : int {
return to_int(optind);