Codechange: Pass ScriptInstance by reference.
This commit is contained in:
committed by
Peter Nelson
parent
13fcc0900e
commit
72ca962b84
@@ -13,7 +13,7 @@
|
||||
/**
|
||||
* The callback function when a script suspends.
|
||||
*/
|
||||
typedef void (Script_SuspendCallbackProc)(class ScriptInstance *instance);
|
||||
typedef void (Script_SuspendCallbackProc)(class ScriptInstance &instance);
|
||||
|
||||
/**
|
||||
* A throw-class that is given when the script wants to suspend.
|
||||
|
||||
Reference in New Issue
Block a user