15 lines
258 B
C
15 lines
258 B
C
#pragma once
|
|
#include "lua.h"
|
|
|
|
// Add/Run hooks.
|
|
int hook_add(lua_State* L, char* parent, char* func, char* stack);
|
|
void hook_rm(int id);
|
|
void hook_rmParent(char* parent);
|
|
|
|
// Run hook.
|
|
int hooks_run(char* stack);
|
|
|
|
// Destroy hook.
|
|
void hook_cleanup(void);
|
|
|