Changeset 606 for trunk/core/luascript.c
- Timestamp:
- 11/30/08 07:00:47 (4 years ago)
- File:
-
- 1 edited
-
trunk/core/luascript.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/luascript.c
r594 r606 748 748 static int luaCB_get_buildinfo( lua_State* L ) 749 749 { 750 lua_createtable(L, 0, 6); /* 6 = number of fields */750 lua_createtable(L, 0, 8); 751 751 set_string_field( L,"platform", PLATFORM ); 752 752 set_string_field( L,"platsub", PLATFORMSUB ); … … 755 755 set_string_field( L,"build_date", __DATE__ ); 756 756 set_string_field( L,"build_time", __TIME__ ); 757 #ifndef CAM_DRYOS 758 set_string_field( L,"os", "vxworks" ); 759 #else 760 set_string_field( L,"os", "dryos" ); 761 #endif 762 lua_pushnumber( L, PLATFORMID ); 763 lua_setfield(L, -2, "platformid"); 757 764 return 1; 758 765 }
Note: See TracChangeset
for help on using the changeset viewer.