=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
DEPRECATED! PyObject *pytalloc_CObject_FromTallocPtr(void *);
-Create a new pytalloc_Object for an abitrary talloc-maintained C pointer. This will
+Create a new pytalloc_Object for an arbitrary talloc-maintained C pointer. This will
use a generic VoidPtr Python type, which just provides an opaque object in
Python. The caller is responsible for incrementing the talloc reference count before calling
this function - it will dereference the talloc pointer when it is garbage collected.
/**
- * Internal function that either steals or referecences the talloc
+ * Internal function that either steals or references the talloc
* pointer into a new talloc context.
*/
static PyObject *pytalloc_steal_or_reference(PyTypeObject *py_type,
} while (0)
#if defined(DEVELOPER) && defined(VALGRIND_MAKE_MEM_NOACCESS)
-/* Mark the whole chunk as not accessable */
+/* Mark the whole chunk as not accessible */
#define TC_INVALIDATE_FULL_VALGRIND_CHUNK(_tc) do { \
size_t _flen = TC_HDR_SIZE + (_tc)->size; \
char *_fptr = (char *)(_tc); \
} while (0)
#if defined(DEVELOPER) && defined(VALGRIND_MAKE_MEM_NOACCESS)
-/* Mark the unused bytes not accessable */
+/* Mark the unused bytes not accessible */
#define TC_INVALIDATE_SHRINK_VALGRIND_CHUNK(_tc, _new_size) do { \
size_t _flen = (_tc)->size - (_new_size); \
char *_fptr = (char *)TC_PTR_FROM_CHUNK(_tc); \
return tc_next_chunk(tc);
}
-/* Mark the whole remaining pool as not accessable */
+/* Mark the whole remaining pool as not accessible */
static inline void tc_invalidate_pool(struct talloc_pool_hdr *pool_hdr)
{
size_t flen = tc_pool_space_left(pool_hdr);