Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7725 in orxonox.OLD for trunk/src/lib/util


Ignore:
Timestamp:
May 19, 2006, 11:58:19 AM (19 years ago)
Author:
bensch
Message:

trunk: const Executor introduced

Location:
trunk/src/lib/util/executor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/executor/executor.h

    r7722 r7725  
    7878
    7979#include "executor/executor_functional.h"
     80#define EXECUTOR_FUNCTIONAL_USE_CONST
     81#include "executor/executor_functional.h"
    8082#define EXECUTOR_FUNCTIONAL_USE_STATIC
    8183#include "executor/executor_functional.h"
  • trunk/src/lib/util/executor/executor_functional.h

    r7724 r7725  
    6565 #undef __EXECUTOR_FUNCTIONAL_NAME
    6666 #define __EXECUTOR_FUNCTIONAL_NAME(ParamCount) Executor##ParamCount##Params_const
    67  #undef EXECUTOR_FUNCTIONAL_USE_CONST
    6867#endif
    6968
     
    8079 #define __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER    *functionPointer
    8180
    82 #undef EXECUTOR_FUNCTIONAL_USE_STATIC
    8381#endif /* EXECUTOR_FUNCTIONAL_USE_STATIC */
    8482
     
    426424#undef __EXECUTOR_FUNCTIONAL_FUNCTION_EXEC
    427425#undef __EXECUTOR_FUNCTIONAL_FUNCTION_POINTER
     426
     427#ifdef EXECUTOR_FUNCTIONAL_USE_CONST
     428 #undef EXECUTOR_FUNCTIONAL_USE_CONST
     429#endif
     430#ifdef EXECUTOR_FUNCTIONAL_USE_STATIC
     431 #undef EXECUTOR_FUNCTIONAL_USE_STATIC
     432#endif
Note: See TracChangeset for help on using the changeset viewer.