projects
/
p5sagit/Function-Parameters.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
pass current package to custom type reifier
[p5sagit/Function-Parameters.git]
/
Parameters.xs
diff --git
a/Parameters.xs
b/Parameters.xs
index
c999c9b
..
ea7b797
100644
(file)
--- a/
Parameters.xs
+++ b/
Parameters.xs
@@
-520,8
+520,9
@@
static SV *reify_type(pTHX_ Sentinel sen, const SV *declarator, const KWSpec *sp
SAVETMPS;
PUSHMARK(SP);
- EXTEND(SP, 1);
+ EXTEND(SP, 2);
PUSHs(name);
+ PUSHs(PL_curstname);
PUTBACK;
n = call_sv(sv, G_SCALAR);