Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 19, 2023
1 parent 8113644 commit 1f9bd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asext/include/asext_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ fnASEXT_CallCASBaseCallable *ASEXT_CallCASBaseCallable = NULL;
ASEXT_RegisterObjectBehaviour(pASDoc, "Default constructor", #name, ObjectBehaviour_Constructor, "void "#name"()", (void *)name##_ctor, 4);\
ASEXT_RegisterObjectBehaviour(pASDoc, "Copy constructor", #name, ObjectBehaviour_Constructor, "void "#name"(const "#name"& in other)", (void *)name##_copyctor, 4);\
ASEXT_RegisterObjectBehaviour(pASDoc, "Destructor", #name, ObjectBehaviour_Destructor, "void Destruct"#name"()", (void *)name##_dtor, 4);\
ASEXT_RegisterObjectMethod(pASDoc, "operator=", #name, #name##"& opAssign(const "#name"& in other)", (void *)name##_opassign, 3);
ASEXT_RegisterObjectMethod(pASDoc, "operator=", #name, #name"& opAssign(const "#name"& in other)", (void *)name##_opassign, 3);

#define EXTERN_PLAIN_VALUE_OBJECT(name) void name##_ctor(name *pthis);\
void name##_copyctor(name *a1, name *a2);\
void name##_dtor(name *pthis);\
name * SC_SERVER_DECL name##_opassign(name *a1, SC_SERVER_DUMMYARG name *a2);
name * SC_SERVER_DECL name##_opassign(name *a1, SC_SERVER_DUMMYARG name *a2);

0 comments on commit 1f9bd06

Please sign in to comment.