summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2005-01-23 01:03:51 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2005-01-23 01:03:51 +0000
commit17dcdb4963e7d3450cef9c0c01e357897748a72b (patch)
tree8c27f16d9dd00edd347ed4407ee0d078c444818e /swig
parent4a45f2efc05c7f15258c0c087e6449a394ea8ae9 (diff)
downloadlasso-17dcdb4963e7d3450cef9c0c01e357897748a72b.tar.gz
lasso-17dcdb4963e7d3450cef9c0c01e357897748a72b.tar.xz
lasso-17dcdb4963e7d3450cef9c0c01e357897748a72b.zip
Quick fix so that Lasso bindings work till SWIG WSF part is fully updated.
Diffstat (limited to 'swig')
-rw-r--r--swig/Lasso-wsf.i17
1 files changed, 11 insertions, 6 deletions
diff --git a/swig/Lasso-wsf.i b/swig/Lasso-wsf.i
index 5a09ab4c..67d1771c 100644
--- a/swig/Lasso-wsf.i
+++ b/swig/Lasso-wsf.i
@@ -1232,7 +1232,11 @@ typedef struct {
%extend LassoDstModifyResponse {
/* Attributes */
- LassoUtilityStatus *status;
+#ifndef SWIGPHP4
+ %rename(status) Status;
+#endif
+ %newobject Status_get;
+ LassoUtilityStatus *Status;
/* char *itemIdRef; */
@@ -1248,15 +1252,18 @@ typedef struct {
%newobject dump;
char *dump();
-
- /* Methods */
-
}
%{
/* Attributes Implementations */
+/* Status */
+#define LassoDstModifyResponse_get_Status(self) get_node((self)->Status)
+#define LassoDstModifyResponse_Status_get(self) get_node((self)->Status)
+#define LassoDstModifyResponse_set_Status(self, value) set_node((gpointer *) &(self)->Status, (value))
+#define LassoDstModifyResponse_Status_set(self, value) set_node((gpointer *) &(self)->Status, (value))
+
/* status */
#define LassoDstModifyResponse_get_status LassoDstModifyResponse_status_get
LassoUtilityStatus *LassoDstModifyResponse_status_get(LassoDstModifyResponse *self) {
@@ -1272,8 +1279,6 @@ LassoUtilityStatus *LassoDstModifyResponse_status_get(LassoDstModifyResponse *se
#define LassoDstModifyResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
-/* Methods implementations */
-
%}