コード例 #1
0
ファイル: graphics_window.c プロジェクト: gauravalgo/CLove
void l_graphics_window_register(lua_State* state) {
  l_tools_registerModule(state, "window", windowFreeFuncs);
}
コード例 #2
0
ファイル: system.c プロジェクト: dns/CLove
int l_system_register(lua_State* state) {
  l_tools_registerModule(state, "system", regFuncs);
  return 0;
}
コード例 #3
0
ファイル: audio.c プロジェクト: dns/CLove
int l_audio_register(lua_State *state) {
	l_tools_registerModule(state, "audio", regFuncs);
	moduleData.audioDataMT = l_tools_makeTypeMetatable(state, SourceMetatableFuncs);
	return 1;
}