diff options
author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-09-29 16:24:55 +0000 |
---|---|---|
committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-09-29 16:24:55 +0000 |
commit | 0181981d03845c3bd9de5febd081b2845f2e22d4 (patch) | |
tree | b353db60f589aca3adb24e74edd097eac2550740 /swig | |
parent | 773d6d2001e4e1baca71fad655309cc4137c5ffd (diff) | |
download | lasso-0181981d03845c3bd9de5febd081b2845f2e22d4.tar.gz lasso-0181981d03845c3bd9de5febd081b2845f2e22d4.tar.xz lasso-0181981d03845c3bd9de5febd081b2845f2e22d4.zip |
Added better support for name registration. There is still problem with multiple registration needed to be fixed
Diffstat (limited to 'swig')
-rw-r--r-- | swig/Lasso.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index a1051e02..b4c2fea1 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -2445,6 +2445,9 @@ typedef struct { ~LassoNameRegistration(); + %newobject newFromDump; + static LassoNameRegistration *newFromDump(LassoServer *server, gchar *dump); + /* Methods inherited from LassoProfile */ THROW_ERROR @@ -2566,6 +2569,11 @@ gint LassoNameRegistration_session_set(LassoNameRegistration *self, LassoSession #define new_LassoNameRegistration lasso_name_registration_new #define delete_LassoNameRegistration lasso_name_registration_destroy +#ifdef PHP_VERSION +#define LassoNameRegistration_newFromDump lasso_name_registration_new_from_dump +#else +#define NameRegistration_newFromDump lasso_name_registration_new_from_dump +#endif /* Methods inherited from LassoProfile implementations */ |