Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2008, 7:49:26 PM (16 years ago)
Author:
rgrieder
Message:

merged input branch into gui test branch (was about time)
svn save (it's still a mess and CMLs haven't been updated)
I'll have to create a special project to create the tolua_bind files for tolua itself anyway..

Location:
code/branches/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui

  • code/branches/gui/src/tolua/tolua++.h

    r1505 r1638  
    1717#define TOLUA_H
    1818
     19/* original code */
     20/*
    1921#ifndef TOLUA_API
    2022#define TOLUA_API extern
    2123#endif
     24*/
     25
     26/********************************
     27******* ORXONOX CHANGES *********
     28********************************/
     29
     30#if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined( TOLUA_STATIC_BUILD )
     31#  ifdef TOLUA_SHARED_BUILD
     32#    define TOLUA_API __declspec(dllexport)
     33#  else
     34#    if defined( __MINGW32__ )
     35#      define TOLUA_API
     36#    else
     37#      define TOLUA_API __declspec(dllimport)
     38#    endif
     39#  endif
     40#else
     41#  define TOLUA_API extern
     42#endif
     43
     44/********************************
     45****** END ORXONOX CHANGES ******
     46********************************/
    2247
    2348#define TOLUA_VERSION "tolua++-1.0.92"
  • code/branches/gui/src/tolua/toluabind.c

    r1505 r1638  
    1212
    1313/* Exported function */
    14 TOLUA_API int  tolua_tolua_open (lua_State* tolua_S);
     14int  tolua_tolua_open (lua_State* tolua_S);
    1515
    1616
     
    2121
    2222/* Open function */
    23 TOLUA_API int tolua_tolua_open (lua_State* tolua_S)
     23int tolua_tolua_open (lua_State* tolua_S)
    2424{
    2525 tolua_open(tolua_S);
     
    76227622
    76237623#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
    7624  TOLUA_API int luaopen_tolua (lua_State* tolua_S) {
     7624 int luaopen_tolua (lua_State* tolua_S) {
    76257625 return tolua_tolua_open(tolua_S);
    76267626};
Note: See TracChangeset for help on using the changeset viewer.