ffi: update code with last syntax
[nit.git] / lib / json / jsonable.nit
index 08f8908..6eb95ac 100644 (file)
@@ -27,7 +27,7 @@ interface Jsonable
 end
 
 # Main object type used by C library
-private extern JsonObject `{ struct json_object* `}
+private extern class JsonObject `{ struct json_object* `}
        # Give up ownership of this object and decrease the reference count.
        fun put `{ json_object_put( recv ); `}