NAME

UINT16_MALLOC - (MACRO) Sets up call for kjb_malloc for 16 bit unsigned integers

SYNOPSIS

#include "l/l_sys_mal.h"

Example compile flags (system dependent):
  -DLINUX_386 -DLINUX_386_P4  
   -I/home/kobus/include
   -L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
  -lKJB         -llapack -lblas -lg2c          -lXext -lX11 


kjb_uint16 *UINT16_MALLOC(Malloc_size n);

DESCRIPTION

This macro takes a count for the number of 16 bit unsigned integers needed and returns storage for them. It is defined by:
  #define UINT16_MALLOC(n)
       (kjb_uint16*)kjb_malloc(((Malloc_size)(n))*(sizeof(kjb_uint16)))

NOTE n is cast to Malloc_size is almost always size_t.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTOR

Kobus Barnard

SEE ALSO

KJB_MALLOC , KJB_CALLOC , KJB_REALLOC , TYPE_MALLOC , N_TYPE_MALLOC , UCHAR_MALLOC , BYTE_MALLOC , STR_MALLOC , SHORT_MALLOC , INT_MALLOC , UINT_MALLOC , LONG_MALLOC , FLT_MALLOC , DBL_MALLOC , INT16_MALLOC , INT32_MALLOC , UINT32_MALLOC , N_TYPE_REALLOC , UCHAR_REALLOC , BYTE_REALLOC , STR_REALLOC , SHORT_REALLOC , INT_REALLOC , UINT_REALLOC , LONG_REALLOC , FLT_REALLOC , DBL_REALLOC , INT16_REALLOC , UINT16_REALLOC , INT32_REALLOC , UINT32_REALLOC , CHECK_FOR_HEAP_OVERRUNS