Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 17, 2009, 4:41:03 PM (16 years ago)
Author:
rgrieder
Message:

Added static DeclareToluaInterface macro to ease up tolua intefaces for modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/core/LuaState.cc

    r5654 r5655  
    3939#include "Core.h"
    4040#include "Resource.h"
     41#include "ToluaBindCore.h"
    4142
    4243namespace orxonox
     
    4445    LuaState::ToluaInterfaceMap LuaState::toluaInterfaces_s;
    4546    std::vector<LuaState*> LuaState::instances_s;
     47
     48    // Do this after declaring toluaInterfaces_s and instances_s to avoid larger problems
     49    DeclareToluaInterface(Core);
    4650
    4751    LuaState::LuaState()
Note: See TracChangeset for help on using the changeset viewer.