mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-30 16:17:46 +00:00
better var name in EXPOSE_SCRIPT macro
This commit is contained in:
parent
966f51b76a
commit
843ed1381f
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@
|
|||
|
||||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue