Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a basic guide on pytalloc. | Jelmer Vernooij | 2013-11-28 | 1 | -0/+3 |
| | | | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-By: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Nov 28 02:24:45 CET 2013 on sn-devel-104 | ||||
* | pytalloc: Use consistent prefix for functions, add ABI file. | Jelmer Vernooij | 2011-08-10 | 1 | -19/+17 |
| | |||||
* | pytalloc: Make py_talloc_default_cmp private. | Jelmer Vernooij | 2010-12-01 | 1 | -1/+0 |
| | |||||
* | pytalloc: Make py_talloc_dealloc private. | Jelmer Vernooij | 2010-12-01 | 1 | -3/+0 |
| | |||||
* | pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object). | Jelmer Vernooij | 2010-12-01 | 1 | -3/+0 |
| | |||||
* | pytalloc: Expose PyTalloc_GetObjectType | Jelmer Vernooij | 2010-12-01 | 1 | -0/+1 |
| | |||||
* | pytalloc: Add convenience function for checking if something is a talloc | Jelmer Vernooij | 2010-12-01 | 1 | -0/+2 |
| | | | | object. | ||||
* | pytalloc: Add default compare function. | Jelmer Vernooij | 2010-09-21 | 1 | -0/+1 |
| | |||||
* | pidl: Fix segfault when accessing unicode objects. | Jelmer Vernooij | 2010-09-20 | 1 | -2/+0 |
| | |||||
* | pidl-python: cope with NULL pointers in more places | Andrew Tridgell | 2010-09-02 | 1 | -0/+4 |
| | | | | NULL is converted to Py_None | ||||
* | pytalloc: fixed py_talloc_steal() | Andrew Tridgell | 2010-08-25 | 1 | -1/+1 |
| | | | | | | | | | | | py_talloc_steal() was implemented as a macro which evaluated it's 2nd argument twice. It was often called via a macro with a 2nd argument that was a function call, for example an allocation in py_talloc_new(). This meant it allocated memory twice, and leaked one of them. This re-implements py_talloc_steal() as a function, so that it only does the allocation once. | ||||
* | pidl: Avoid using talloc_free as function pointer, since it may be a | Jelmer Vernooij | 2009-09-28 | 1 | -0/+2 |
| | | | | macro. | ||||
* | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 2009-07-30 | 1 | -4/+5 |
| | | | | | Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | ||||
* | fixed use of reference in pytalloc | Andrew Tridgell | 2009-07-01 | 1 | -0/+1 |
| | | | | | | | | | | | | The previous code caused memory leaks, and also caused situations where talloc_free could be called on pointers with multiple parents The new approach is to have two functions: py_talloc_import : steals the pointer, so it becomes wholly owned by the python object py_talloc_reference: uses a reference, so it is owned by both python and C | ||||
* | Fix more introduced regressions in new bindings. | Jelmer Vernooij | 2008-12-21 | 1 | -1/+1 |
| | |||||
* | Create and use convenience function for creating new talloc-wrapping Python ↵ | Jelmer Vernooij | 2008-12-21 | 1 | -0/+2 |
| | | | | Objects, support subtypes of DCE/RPC interfaces properly | ||||
* | Initial work using manual Python bindings for LDB, rather than ↵ | Jelmer Vernooij | 2008-12-19 | 1 | -2/+2 |
| | | | | SWIG-generated ones. | ||||
* | Move pytalloc to talloc directory. | Jelmer Vernooij | 2008-10-24 | 1 | -0/+51 |