Skip to content

Commit

Permalink
Update as_ivec2.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
1vanK committed Nov 2, 2024
1 parent 88f8b17 commit db2ce25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/as_ivec2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bool register_ivec2(asIScriptEngine* e)
bool success = true;
i32 r;

AS_CHECK(RegisterObjectType(type_name, sizeof(ivec2), asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS_ALLINTS | asOBJ_APP_CLASS_UNION | asGetTypeTraits<ivec2>()));
AS_CHECK(RegisterObjectType(type_name, sizeof(ivec2), asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS_ALLINTS | asOBJ_APP_CLASS_UNION | asOBJ_APP_CLASS_MORE_CONSTRUCTORS | asGetTypeTraits<ivec2>()));

AS_CHECK(RegisterObjectBehaviour(type_name, asBEHAVE_CONSTRUCT, "void f(int, int)", asFUNCTION(construct_x_y), asCALL_CDECL_OBJFIRST));

Expand Down

0 comments on commit db2ce25

Please sign in to comment.