Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: nacltoons/bindings/lua_physics_layer.cpp

Issue 12579005: [nacltoons] Rename core classes in accordance with doc. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nacltoons/bindings/lua_physics_layer.h ('k') | nacltoons/bindings/physics_layer.pkg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/bindings/lua_physics_layer.cpp
diff --git a/nacltoons/bindings/lua_physics_layer.cpp b/nacltoons/bindings/lua_physics_layer.cpp
deleted file mode 100644
index a6da64df1746e35ebe30702944f0a9ce7fbf5914..0000000000000000000000000000000000000000
--- a/nacltoons/bindings/lua_physics_layer.cpp
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
-** Lua binding: physics_layer
-** Generated automatically by tolua++-1.0.93 on Mon Feb 25 16:17:52 2013.
-*/
-#include "lua_physics_layer.h"
-#include "physics_layer.h"
-
-/* function to register type */
-static void tolua_reg_types (lua_State* tolua_S)
-{
- tolua_usertype(tolua_S,"CCLayerColor");
- tolua_usertype(tolua_S,"PhysicsLayer");
- tolua_usertype(tolua_S,"b2World");
-}
-
-/* method: GetWorld of class PhysicsLayer */
-#ifndef TOLUA_DISABLE_tolua_physics_layer_PhysicsLayer_GetWorld00
-static int tolua_physics_layer_PhysicsLayer_GetWorld00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"PhysicsLayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- PhysicsLayer* self = (PhysicsLayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorld'", NULL);
-#endif
- {
- b2World* tolua_ret = (b2World*) self->GetWorld();
- tolua_pushusertype(tolua_S,(void*)tolua_ret,"b2World");
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetWorld'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* method: GetWorld of class PhysicsLayer */
-#ifndef TOLUA_DISABLE_tolua_physics_layer_PhysicsLayer_LevelComplete00
-static int tolua_physics_layer_PhysicsLayer_LevelComplete00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"PhysicsLayer",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- PhysicsLayer* self = (PhysicsLayer*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetWorld'", NULL);
-#endif
- {
- self->LevelComplete();
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'LevelComplete'.",&tolua_err);
- return 0;
-#endif
-}
-#endif //#ifndef TOLUA_DISABLE
-
-/* Open function */
-TOLUA_API int tolua_physics_layer_open (lua_State* tolua_S)
-{
- tolua_open(tolua_S);
- tolua_reg_types(tolua_S);
- tolua_module(tolua_S,NULL,0);
- tolua_beginmodule(tolua_S,NULL);
- tolua_cclass(tolua_S,"PhysicsLayer","PhysicsLayer","CCLayerColor",NULL);
- tolua_beginmodule(tolua_S,"PhysicsLayer");
- tolua_function(tolua_S,"GetWorld",tolua_physics_layer_PhysicsLayer_GetWorld00);
- tolua_function(tolua_S,"LevelComplete",tolua_physics_layer_PhysicsLayer_LevelComplete00);
- tolua_endmodule(tolua_S);
- tolua_endmodule(tolua_S);
- return 1;
-}
-
-
-#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
- TOLUA_API int luaopen_physics_layer (lua_State* tolua_S) {
- return tolua_physics_layer_open(tolua_S);
-};
-#endif
-
« no previous file with comments | « nacltoons/bindings/lua_physics_layer.h ('k') | nacltoons/bindings/physics_layer.pkg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698