clear_lex_stuff returns void, not char *.
Florian Ragwitz [Sun, 12 Oct 2008 14:26:12 +0000 (14:26 +0000)]
Declare.xs

index 3ad99ad..3b8c5dd 100644 (file)
@@ -126,7 +126,7 @@ char* dd_get_lex_stuff(pTHX) {
   return (DD_HAVE_LEX_STUFF ? SvPVX(PL_lex_stuff) : "");
 }
 
-char* dd_clear_lex_stuff(pTHX) {
+void dd_clear_lex_stuff(pTHX) {
   if (DD_HAVE_PARSER)
     PL_lex_stuff = (SV*)NULL;
 }