diff options
author | Tim Potter <tpot@samba.org> | 2002-04-05 05:52:20 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-05 05:52:20 +0000 |
commit | 2aa9e1c22e265ee70b03c3ce7a9d4934ae3fd0f8 (patch) | |
tree | 2c4504cddbae08b32c8164db885c87bb3d642d25 /source3/python | |
parent | af96550f17b0272497cc146d698896f3b2468036 (diff) | |
download | samba-2aa9e1c22e265ee70b03c3ce7a9d4934ae3fd0f8.tar.gz samba-2aa9e1c22e265ee70b03c3ce7a9d4934ae3fd0f8.tar.xz samba-2aa9e1c22e265ee70b03c3ce7a9d4934ae3fd0f8.zip |
Fixed dodgy looking prototypes for py_to_* functions.
(This used to be commit 847e310921802f5793f6cd170e6baf939151be89)
Diffstat (limited to 'source3/python')
-rw-r--r-- | source3/python/py_spoolss_printers_conv.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/python/py_spoolss_printers_conv.c b/source3/python/py_spoolss_printers_conv.c index c86b70d80b3..84a068181ff 100644 --- a/source3/python/py_spoolss_printers_conv.c +++ b/source3/python/py_spoolss_printers_conv.c @@ -164,7 +164,7 @@ BOOL py_from_SID(PyObject **obj, DOM_SID *sid) return True; } -BOOL py_to_SID(DOM_SID **sid, PyObject *dict) +BOOL py_to_SID(DOM_SID *sid, PyObject *dict) { return False; } @@ -191,7 +191,7 @@ BOOL py_from_ACE(PyObject **dict, SEC_ACE *ace) return True; } -BOOL py_to_ACE(SEC_ACE **ace, PyObject *dict) +BOOL py_to_ACE(SEC_ACE *ace, PyObject *dict) { return False; } @@ -225,7 +225,7 @@ BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl) return True; } -BOOL py_to_ACL(SEC_ACL **acl, PyObject *dict) +BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict) { return False; } @@ -274,19 +274,19 @@ BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode) return True; } -BOOL py_to_DEVICEMODE(DEVICEMODE **devmode, PyObject *dict) +BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict) { PyObject *obj; - to_struct(*devmode, dict, py_DEVICEMODE); + to_struct(devmode, dict, py_DEVICEMODE); obj = PyDict_GetItemString(dict, "private"); if (!obj) return False; - (*devmode)->private = PyString_AsString(obj); - (*devmode)->driverextra = PyString_Size(obj); + devmode->private = PyString_AsString(obj); + devmode->driverextra = PyString_Size(obj); return True; } @@ -301,7 +301,7 @@ BOOL py_from_PRINTER_INFO_0(PyObject **dict, PRINTER_INFO_0 *info) return True; } -BOOL py_to_PRINTER_INFO_0(PRINTER_INFO_0 *info, PyObject **dict) +BOOL py_to_PRINTER_INFO_0(PRINTER_INFO_0 *info, PyObject *dict) { return False; } @@ -316,7 +316,7 @@ BOOL py_from_PRINTER_INFO_1(PyObject **dict, PRINTER_INFO_1 *info) return True; } -BOOL py_to_PRINTER_INFO_1(PRINTER_INFO_1 *info, PyObject **dict) +BOOL py_to_PRINTER_INFO_1(PRINTER_INFO_1 *info, PyObject *dict) { return False; } @@ -340,7 +340,7 @@ BOOL py_from_PRINTER_INFO_2(PyObject **dict, PRINTER_INFO_2 *info) return True; } -BOOL py_to_PRINTER_INFO_2(PRINTER_INFO_2 *info, PyObject **dict) +BOOL py_to_PRINTER_INFO_2(PRINTER_INFO_2 *info, PyObject *dict) { return False; } @@ -361,7 +361,7 @@ BOOL py_from_PRINTER_INFO_3(PyObject **dict, PRINTER_INFO_3 *info) return True; } -BOOL py_to_PRINTER_INFO_3(PRINTER_INFO_3 *info, PyObject **dict) +BOOL py_to_PRINTER_INFO_3(PRINTER_INFO_3 *info, PyObject *dict) { return False; } |