lasso
ArrayManager.hpp File Reference
#include <cstdlib>

Go to the source code of this file.

Classes

class  ArrayManager

Defines

#define ALLOC_CHECK_ARRAY(array, this_size)
#define ALLOC_CHECK_TAG_ARRAY(array, this_size)
#define KEEP_ARRAY(array)   array ## _manager .keep_array()
#define ALLOC_CHECK_ARRAY_NOFAIL(array, this_size)   ALLOC_CHECK_ARRAY(array, this_size); KEEP_ARRAY(array)

Define Documentation

#define ALLOC_CHECK_ARRAY (   array,
  this_size 
)
Value:
ArrayManager array ## _manager ( reinterpret_cast<void**>(array), *(array ## _allocated), *(array ## _size), this_size, sizeof(**array), err ); \
  if (iBase_SUCCESS != *err) return

Definition at line 9 of file ArrayManager.hpp.

#define ALLOC_CHECK_ARRAY_NOFAIL (   array,
  this_size 
)    ALLOC_CHECK_ARRAY(array, this_size); KEEP_ARRAY(array)

Definition at line 22 of file ArrayManager.hpp.

#define ALLOC_CHECK_TAG_ARRAY (   array,
  this_size 
)
Value:
ArrayManager array ## _manager ( reinterpret_cast<void**>(array), *(array ## _allocated), *(array ## _size), this_size, 1, err ); \
  if (iBase_SUCCESS != *err) return

Definition at line 13 of file ArrayManager.hpp.

#define KEEP_ARRAY (   array)    array ## _manager .keep_array()

Definition at line 17 of file ArrayManager.hpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines