Subject: | XS++ should probably emit KR style XS? |
There are bugs in ExtUtils::ParseXS regarding namespaces and templated types in the parser for ANSI style XS function signatures. The same bug doesn't exist for KR style function signatures. IOW:
ANSI
int
foo(int bar)
CODE:...
KR
int
foo(bar)
int bar;
CODE:...
Of course, fixing EU::ParseXS is better, but it's also likely quite a bit harder (it's really icky code. If somebody wants to tackle it, I'll be happy to support).