Merge: Bench scripts
[nit.git] / lib / standard / kernel.nit
index f54cd2f..fb84d2e 100644 (file)
@@ -612,7 +612,7 @@ end
 # Pointer classes are used to manipulate extern C structures.
 extern class Pointer
        # Is the address behind this Object at NULL?
-       fun address_is_null: Bool `{ return recv == NULL; `}
+       fun address_is_null: Bool is extern "address_is_null"
 
        # Free the memory pointed by this pointer
        fun free `{ free(recv); `}