clear_lex_stuff returns void, not char *.
rafl [Sun, 12 Oct 2008 14:26:12 +0000 (14:26 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/Devel-Declare/1.000/trunk@4915 bd8105ee-0ff8-0310-8827-fb3f25b6796d

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;
 }