#ifndef LUA_GSL_H #define LUA_GSL_H #include #include "defs.h" __BEGIN_DECLS #include struct gsl_shell_state { lua_State *L; pthread_mutex_t exec_mutex; pthread_mutex_t shutdown_mutex; int is_shutting_down; }; extern void gsl_shell_open (struct gsl_shell_state *gs); extern void gsl_shell_free (struct gsl_shell_state *gs); extern void gsl_shell_init (struct gsl_shell_state *gs); extern int luaopen_gsl (lua_State *L); extern struct gsl_shell_state* global_state; __END_DECLS #endif

AltStyle によって変換されたページ (->オリジナル) /