Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/talloc/pytalloc.h

    r414 r740  
    3030} py_talloc_Object;
    3131
    32 /* Deallocate a py_talloc_Object */
    33 void py_talloc_dealloc(PyObject* self);
     32PyTypeObject *PyTalloc_GetObjectType(void);
     33int PyTalloc_Check(PyObject *);
    3434
    3535/* Retrieve the pointer for a py_talloc_object. Like talloc_get_type()
     
    4444
    4545PyObject *py_talloc_steal_ex(PyTypeObject *py_type, TALLOC_CTX *mem_ctx, void *ptr);
     46PyObject *py_talloc_steal(PyTypeObject *py_type, void *ptr);
    4647PyObject *py_talloc_reference_ex(PyTypeObject *py_type, TALLOC_CTX *mem_ctx, void *ptr);
    47 #define py_talloc_steal(py_type, talloc_ptr) py_talloc_steal_ex(py_type, talloc_ptr, talloc_ptr)
    4848#define py_talloc_reference(py_type, talloc_ptr) py_talloc_reference_ex(py_type, talloc_ptr, talloc_ptr)
    49 
    50 /* Sane default implementation of reprfunc. */
    51 PyObject *py_talloc_default_repr(PyObject *py_obj);
    5249
    5350#define py_talloc_new(type, typeobj) py_talloc_steal(typeobj, talloc_zero(NULL, type))
     
    5552PyObject *PyCObject_FromTallocPtr(void *);
    5653
     54PyObject *PyString_FromString_check_null(const char *ptr);
     55
    5756#endif /* _PY_TALLOC_H_ */
Note: See TracChangeset for help on using the changeset viewer.