diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-29 14:35:43 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-29 14:35:43 +0000 |
| commit | f65d866ecf8a914e8f948c2c01eba1474461568b (patch) | |
| tree | 63aa72c265ac42520ced16b3cbbc2a097f4aafa4 | |
| parent | 7a42f38299a21d29d4b4d8253583fed61a29291f (diff) | |
SWIG: Use WSF_SUPPORT instead of WSF_ENABLED as constant in bindings.
| -rw-r--r-- | swig/Lasso.i | 14 | ||||
| -rw-r--r-- | swig/inheritance.h | 2 |
2 files changed, 7 insertions, 9 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index f5af9a44..a3524b2c 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -689,21 +689,19 @@ SET_NODE_INFO(Node, DowncastableNode) %rename(VERSION_MAJOR) LASSO_VERSION_MAJOR; %rename(VERSION_MINOR) LASSO_VERSION_MINOR; %rename(VERSION_SUBMINOR) LASSO_VERSION_SUBMINOR; -%rename(WSF_ENABLED) LASSO_WSF_ENABLED; +%rename(WSF_SUPPORT) LASSO_WSF_SUPPORT; #endif %include "../lasso/lasso_config.h" #ifdef LASSO_WSF_ENABLED %{ -#undef LASSO_WSF_ENABLED -#define LASSO_WSF_ENABLED 1 +#define LASSO_WSF_SUPPORT 1 %} -#undef LASSO_WSF_ENABLED -#define LASSO_WSF_ENABLED 1 +#define LASSO_WSF_SUPPORT 1 #else %{ -#define LASSO_WSF_ENABLED 0 +#define LASSO_WSF_SUPPORT 0 %} -#define LASSO_WSF_ENABLED 0 +#define LASSO_WSF_SUPPORT 0 #endif /* HttpMethod */ @@ -6558,7 +6556,7 @@ int LassoNameRegistration_setSessionFromDump(LassoNameRegistration *self, char * %} -#if LASSO_WSF_ENABLED +#ifdef LASSO_WSF_ENABLED %include Lasso-wsf.i #endif diff --git a/swig/inheritance.h b/swig/inheritance.h index 1c6cca9a..37bcbd5b 100644 --- a/swig/inheritance.h +++ b/swig/inheritance.h @@ -78,7 +78,7 @@ SET_NODE_INFO(LibStatusResponse, SamlpResponseAbstract) SET_NODE_INFO(LibLogoutResponse, LibStatusResponse) SET_NODE_INFO(LibRegisterNameIdentifierResponse, LibStatusResponse) -#if LASSO_WSF_ENABLED +#ifdef LASSO_WSF_ENABLED /* ID-WSF */ |
