summaryrefslogtreecommitdiff
path: root/source3/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
commit119716f16215ba00bc557cff9e60009cca61cc64 (patch)
tree3771d2be5c56a7a46260f21c59e1cc9d7a0f6f4a /source3/python/py_conv.h
parent67656e58f69b4452f5ed6cadd6f1884552db5cd7 (diff)
downloadsamba-119716f16215ba00bc557cff9e60009cca61cc64.tar.gz
samba-119716f16215ba00bc557cff9e60009cca61cc64.tar.bz2
samba-119716f16215ba00bc557cff9e60009cca61cc64.zip
to_struct() now returns a boolean which is false if not all the elements of
the structure were present in the dictionary. (This used to be commit b26d9d793914b66050c374ec2c0e94fa37c7e0e4)
Diffstat (limited to 'source3/python/py_conv.h')
-rw-r--r--source3/python/py_conv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_conv.h b/source3/python/py_conv.h
index 0de2d674de..ed06b9a852 100644
--- a/source3/python/py_conv.h
+++ b/source3/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 (-: */