Even more refactoring.
This commit is contained in:
@ -15,9 +15,6 @@ void scripterInit(scripter_t *scripter, engine_t *engine) {
|
||||
// Push the script self reference
|
||||
duk_push_pointer(scripter->context, scripter);
|
||||
duk_put_global_string(scripter->context, SCRIPTER_SELF_NAME);
|
||||
|
||||
// Inject API
|
||||
scriptsApiIo(scripter);
|
||||
}
|
||||
|
||||
void scripterDispose(scripter_t *scripter) {
|
||||
|
@ -7,7 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
#include "api/io.h"
|
||||
#include "../engine/engine.h"
|
||||
|
||||
/** Implies that the arguments the function will take is variable */
|
||||
|
Reference in New Issue
Block a user