libRocket
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros
WrapperIter.h File Reference

Go to the source code of this file.

Classes

class  Wrapper< T BOOST_PP_COMMA_IF(N) BOOST_PP_ENUM_PARAMS_Z(1, N, A) BOOST_PP_REPEAT_1(BOOST_PP_SUB(BOOST_PP_INC(WRAPPER_MAX_ARGS), N), WRAPPER_PARAM, WrapperNone) >
 

Macros

#define N   BOOST_PP_ITERATION()
 
#define WRAPPER_PARAM(x, n, d)   , d
 

Macro Definition Documentation

#define N   BOOST_PP_ITERATION()
#define WRAPPER_PARAM (   x,
  n,
  d 
)    , d

Generic Python Wrapper, using Boost Preprocessor Iteration to Generate Variants

Relies on a Rocket::Core::ReferenceCountable base class for reference counting.

Traps ReferenceActivated/Deactivated calls and makes them behave like they should for python based objects.

Author
Lloyd Weehuizen