src/Builder4/Editor.bjs
[app.Builder.js] / src / vapi / javascriptcore.vapi
index b230e95..425d226 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 = "")]
   public class Value {
     [CCode (cname = "JSValueMakeUndefined")]
     public Value.undefined (Context ctx);
@@ -335,7 +335,7 @@ namespace JSCore {
     public double to_number (Context ctx, Value *exception);
 
     [CCode (cname = "JSValueToStringCopy", instance_pos=1.1)]
-    public JSCore.String to_string_copy (Context ctx, Value *exception);
+    public JSCore.String to_string_copy (Context ctx, out Value *exception);
 
     [CCode (cname = "JSValueToObject", instance_pos=1.1)]
     public Object to_object (Context ctx, out Value *exception);
@@ -346,14 +346,13 @@ namespace JSCore {
     [CCode (cname = "JSValueUnprotect", instance_pos=1.1)]
     public void unprotect (Context ctx);
     
-    public static void dummy_free (Value v) {
-       }
+   
   }
 
 
   [Compact]
   /* FIXME: causes a warning */
-  [CCode (cname = "void", free_function = "")]
+  [CCode (cname = "JSObjectRef", free_function = "")]
   public class Object: JSCore.Value {
     [CCode (cname = "JSObjectMake")]
     public Object (Context ctx, Class js_class, void *data);
@@ -435,7 +434,7 @@ namespace JSCore {
     [CCode (cname = "JSObjectCallAsFunction", instance_pos=1.1)]
     public unowned JSCore.Value call_as_function (Context ctx, 
                                                                   JSCore.Object thisObject,
-                                                                  [CCode (array_length_pos=3.9, array_length_type="size_t")]
+                                                                  [CCode (array_length_pos=2.9, array_length_type="size_t")]
                                                                   JSCore.Value[] arguments,
                                                                   out JSCore.Value exception);