Fix the default NULL value for objects. JIT functions returning NULL objects as default value do not crash anymore.
[GB.JIT] * BUG: Fix the default NULL value for objects. JIT functions returning NULL objects as default value do not crash anymore.
This commit is contained in:
parent
53dd10bafe
commit
3240ebd8ef
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ const char *JIT_get_default_value(TYPE type)
|
|||
|
||||
if (!_decl_null_object)
|
||||
{
|
||||
JIT_print_decl(" const GB_OBJECT null_object = {GB_T_NULL};\n");
|
||||
JIT_print_decl(" const GB_OBJECT null_object = {GB_T_OBJECT};\n");
|
||||
_decl_null_object = TRUE;
|
||||
}
|
||||
return "null_object";
|
||||
|
|
Loading…
Reference in a new issue