summaryrefslogtreecommitdiffstats
path: root/source/python/py_conv.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-17 02:24:06 +0000
committerTim Potter <tpot@samba.org>2002-05-17 02:24:06 +0000
commitb26d9d793914b66050c374ec2c0e94fa37c7e0e4 (patch)
treec4c607f75e58d4b13b450604b225c73707333150 /source/python/py_conv.h
parentd3222ecd1a024fd2e7ba72b1bc10a400d398a364 (diff)
downloadsamba-b26d9d793914b66050c374ec2c0e94fa37c7e0e4.tar.gz
samba-b26d9d793914b66050c374ec2c0e94fa37c7e0e4.tar.xz
samba-b26d9d793914b66050c374ec2c0e94fa37c7e0e4.zip
to_struct() now returns a boolean which is false if not all the elements of
the structure were present in the dictionary.
Diffstat (limited to 'source/python/py_conv.h')
-rw-r--r--source/python/py_conv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_conv.h b/source/python/py_conv.h
index 0de2d674de2..ed06b9a852a 100644
--- a/source/python/py_conv.h
+++ b/source/python/py_conv.h
@@ -30,7 +30,7 @@ struct pyconv {
};
PyObject *from_struct(void *s, struct pyconv *conv);
-void to_struct(void *s, PyObject *dict, struct pyconv *conv);
+BOOL to_struct(void *s, PyObject *dict, struct pyconv *conv);
/* Another version of offsetof (-: */