nps/darray.h File Reference

#include <stdlib.h>
#include "../error/error.h"

Go to the source code of this file.

Classes

struct  T_

Functions

DARRAY_LKG T_ (array_t)*T_(array_new)(unsigned long length
DARRAY_LKG void T_() array_del (T_(array_t)*a)
DARRAY_LKG int T_() array_append (T_(array_t)*a, TY data, nps_error_t *error)
DARRAY_LKG TY T_() array_pop (T_(array_t)*o)
DARRAY_LKG TY T_() array_get (T_(array_t)*a, unsigned long ix)
DARRAY_LKG void T_() array_set (T_(array_t)*a, unsigned long ix, TY value)
DARRAY_LKG int T_() array_resize (T_(array_t)*a, unsigned long size, nps_error_t *error)
DARRAY_LKG void T_() array_iter (T_(array_t)*o, void(*operator)(TY))
DARRAY_LKG void T_() array_sort (T_(array_t)*o, int(*cmp)(const void *, const void *))
DARRAY_LKG int64_t T_() array_len (T_(array_t)*o)

Variables

DARRAY_LKG unsigned long size
DARRAY_LKG unsigned long TY * initVal

Function Documentation

DARRAY_LKG int T_() array_append ( T_(array_t)*  a,
TY  data,
nps_error_t error 
)
DARRAY_LKG void T_() array_del ( T_(array_t)*  a  ) 
DARRAY_LKG TY T_() array_get ( T_(array_t)*  a,
unsigned long  ix 
)
DARRAY_LKG void T_() array_iter ( T_(array_t)*  o,
void(*)(TY)  operator 
)
DARRAY_LKG int64_t T_() array_len ( T_(array_t)*  o  ) 
DARRAY_LKG TY T_() array_pop ( T_(array_t)*  o  ) 
DARRAY_LKG int T_() array_resize ( T_(array_t)*  a,
unsigned long  size,
nps_error_t error 
)
DARRAY_LKG void T_() array_set ( T_(array_t)*  a,
unsigned long  ix,
TY  value 
)
DARRAY_LKG void T_() array_sort ( T_(array_t)*  o,
int(*)(const void *, const void *)  cmp 
)
DARRAY_LKG T_ ( array_t   ) 

Variable Documentation

DARRAY_LKG unsigned long TY* initVal
DARRAY_LKG unsigned long size
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sun Sep 11 09:40:46 2011 for NPSML by  doxygen 1.6.3