mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 03:07:45 +00:00
better var name in EXPOSE_SCRIPT macro
This commit is contained in:
parent
f7f25e61cc
commit
c5f3cd8f78
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@
|
||||||
|
|
||||||
#include <Event/EventDefs.h>
|
#include <Event/EventDefs.h>
|
||||||
|
|
||||||
#define EXPOSE_SCRIPT( x ) Sapphire::ScriptAPI::ScriptObject* makeScript##x() { return new x; }
|
#define EXPOSE_SCRIPT( className ) Sapphire::ScriptAPI::ScriptObject* makeScript##className() { return new className; }
|
||||||
|
|
||||||
#endif //SAPPHIRE_SCRIPTOBJECT_H
|
#endif //SAPPHIRE_SCRIPTOBJECT_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue