Function hexchat_api::lib_hexchat_plugin_init
source · pub fn lib_hexchat_plugin_init(
hexchat: &'static Hexchat,
name: *mut *const c_char,
desc: *mut *const c_char,
version: *mut *const c_char,
init_cb: Box<InitFn>,
info_cb: Box<InfoFn>
) -> i32Expand description
Called indirectly while a plugin is being loaded. The
plugin author shouldn’t invoke this fuction - it’s only public because
the dll_entry_points() macro generates code that calls this.