Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2008, 9:18:42 PM (16 years ago)
Author:
rgrieder
Message:

Modified package.lua to automatically remove all _LibExport macros to avoid class name conflicts.
Also adjusted hacky code in CommandExecutor, Script and GUIManager.

Location:
code/branches/buildsystem/src/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/core/CommandExecutor.h

    r1771 r2234  
    3636#include "CommandEvaluation.h"
    3737
    38 namespace orxonox // tolua_export
    39 { // tolua_export
     38// tolua_begin
     39namespace orxonox
     40{
    4041    class _CoreExport CommandExecutor
    41     /*
    42     class CommandExecutor { // tolua_export
    43     */
    4442    {
     43// tolua_end
    4544        public:
    4645            static bool execute(const std::string& command, bool useTcl = true); // tolua_export
  • code/branches/buildsystem/src/core/Script.h

    r1975 r2234  
    4545#include <string>
    4646
    47 namespace orxonox // tolua_export
    48 { // tolua_export
     47// tolua_begin
     48namespace orxonox
     49{
    4950  class _CoreExport Script
    50   /*
    51   class Script { // tolua_export
    52   */
    5351  {
     52// tolua_end
    5453    struct LoadS {
    5554      const char *s;
Note: See TracChangeset for help on using the changeset viewer.