Codechange: Get/pass engine by reference instead of pointer.

This commit is contained in:
Peter Nelson
2025-07-14 17:01:42 +01:00
committed by Peter Nelson
parent 7ff0c67f77
commit 55098a2f2e
6 changed files with 16 additions and 16 deletions

View File

@@ -52,12 +52,12 @@ public:
/**
* Register all standard functions we want to give to a script.
*/
void squirrel_register_std(Squirrel *engine);
void squirrel_register_std(Squirrel &engine);
/**
* Register all standard functions that are available on first startup.
* @note this set is very limited, and is only meant to load other scripts and things like that.
*/
void squirrel_register_global_std(Squirrel *engine);
void squirrel_register_global_std(Squirrel &engine);
#endif /* SQUIRREL_STD_HPP */