src/vapi/javascriptcore.vapi
authorAlan Knowles <alan@roojs.com>
Wed, 18 Mar 2015 12:15:52 +0000 (20:15 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Mar 2015 12:15:52 +0000 (20:15 +0800)
src/vapi/javascriptcore.vapi

index 0c0a9c4..aacca04 100644 (file)
@@ -277,7 +277,7 @@ namespace JSCore {
 
   [Compact]
   /* FIXME: free_function causes a warning */
-  [CCode (cname = "void", free_function = "")]
+  [CCode (cname = "void", free_function = "(void)0")]
   public class Value {
     [CCode (cname = "JSValueMakeUndefined")]
     public Value.undefined (Context ctx);
@@ -468,4 +468,4 @@ namespace JSCore {
       }
     }
   }
-}
\ No newline at end of file
+}