13#ifndef FC__LUASCRIPT_SIGNAL_H
14#define FC__LUASCRIPT_SIGNAL_H
31 const char *signal_name, va_list args);
34 const char *signal_name,
37 char *replacement,
char *deprecated_since);
39 const char *callback_name,
bool create);
41 const char *signal_name,
42 const char *callback_name);
46 const char *signal_name,
void luascript_signal_free(struct fc_lua *fcl)
void luascript_signal_init(struct fc_lua *fcl)
bool luascript_signal_callback_defined(struct fc_lua *fcl, const char *signal_name, const char *callback_name)
void luascript_signal_emit_valist(struct fc_lua *fcl, const char *signal_name, va_list args)
const char * luascript_signal_by_index(struct fc_lua *fcl, int sindex)
void deprecate_signal(signal_deprecator *deprecator, char *signal_name, char *replacement, char *deprecated_since)
const char * luascript_signal_callback_by_index(struct fc_lua *fcl, const char *signal_name, int sindex)
void luascript_signal_emit(struct fc_lua *fcl, const char *signal_name,...)
void luascript_signal_callback(struct fc_lua *fcl, const char *signal_name, const char *callback_name, bool create)
signal_deprecator * luascript_signal_create(struct fc_lua *fcl, const char *signal_name, int nargs,...)