forked from xxq250/Nasal-Interpreter
✨ improve function of ghost_register_table
This commit is contained in:
@@ -88,13 +88,13 @@ var nas_noblock(var* args, usize size, gc* ngc) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
mod_func func_tbl[]={
|
||||
module_func_info func_tbl[]={
|
||||
{"nas_getch",nas_getch},
|
||||
{"nas_kbhit",nas_kbhit},
|
||||
{"nas_noblock",nas_noblock},
|
||||
{nullptr,nullptr}
|
||||
};
|
||||
|
||||
extern "C" mod_func* get(ghost_register_table* table) {
|
||||
extern "C" module_func_info* get(ghost_register_table* table) {
|
||||
return func_tbl;
|
||||
}
|
||||
Reference in New Issue
Block a user