Skip to content

Commit

Permalink
val_null is a value, not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed Mar 24, 2017
1 parent 46adaa0 commit 40c4fb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/src/common/ExternalInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ bool ByteArray::LittleEndian()

ByteArray::ByteArray(const char *inResourceName)
{
mValue = val_null();
mValue = val_null;
if (gResourceFactory)
{
mValue = val_call1(gResourceFactory->get(),alloc_string(inResourceName));
Expand Down
2 changes: 1 addition & 1 deletion project/src/common/FreeType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ value get_familyname_from_sfnt_name(FT_Face face)
}
}

return val_null();
return val_null;
}

} // end namespace
Expand Down
2 changes: 1 addition & 1 deletion project/src/opengl/OGLExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ value nme_gl_bind_texture(value inTarget, value inTexture)
return alloc_null();
}

value glObject = val_null();
value glObject = val_null;

if (val_is_int(inTexture))
{
Expand Down

0 comments on commit 40c4fb1

Please sign in to comment.