From 0181981d03845c3bd9de5febd081b2845f2e22d4 Mon Sep 17 00:00:00 2001 From: Nicolas Clapies Date: Wed, 29 Sep 2004 16:24:55 +0000 Subject: Added better support for name registration. There is still problem with multiple registration needed to be fixed --- swig/Lasso.i | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'swig') 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 */ -- cgit