\doxysection{ckd\+\_\+alloc.\+h}
\label{ckd__alloc_8h_source}\index{include/sphinxbase/ckd\_alloc.h@{include/sphinxbase/ckd\_alloc.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ -\/*-\/\ c-\/basic-\/offset:\ 4;\ indent-\/tabs-\/mode:\ nil\ -\/*-\/\ */}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*\ ====================================================================}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999-\/2004\ Carnegie\ Mellon\ University.\ \ All\ rights}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ are\ met:}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ 1.\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.\ }}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ 2.\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ the\ documentation\ and/or\ other\ materials\ provided\ with\ the}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ \ \ distribution.}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ This\ work\ was\ supported\ in\ part\ by\ funding\ from\ the\ Defense\ Advanced\ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Research\ Projects\ Agency\ and\ the\ National\ Science\ Foundation\ of\ the\ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ United\ States\ of\ America,\ and\ the\ CMU\ Sphinx\ Speech\ Consortium.}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ CARNEGIE\ MELLON\ UNIVERSITY\ \`{}\`{}AS\ IS''\ AND\ }}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ ANY\ EXPRESSED\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT\ LIMITED\ TO,\ }}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A\ PARTICULAR}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ CARNEGIE\ MELLON\ UNIVERSITY}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ *\ NOR\ ITS\ EMPLOYEES\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ *\ SPECIAL,\ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ }}
\DoxyCodeLine{00028\ \textcolor{comment}{\ *\ LIMITED\ TO,\ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ }}
\DoxyCodeLine{00029\ \textcolor{comment}{\ *\ DATA,\ OR\ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ }}
\DoxyCodeLine{00030\ \textcolor{comment}{\ *\ THEORY\ OF\ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ *\ (INCLUDING\ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ }}
\DoxyCodeLine{00032\ \textcolor{comment}{\ *\ OF\ THIS\ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ *\ ====================================================================}}
\DoxyCodeLine{00035\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00036\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00037\ \textcolor{comment}{/*}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ *\ ckd\_alloc.h\ -\/-\/\ Memory\ allocation\ package.}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ CMU\ ARPA\ Speech\ Project}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999\ Carnegie\ Mellon\ University.}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ ALL\ RIGHTS\ RESERVED.}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ HISTORY}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ \$Log:\ ckd\_alloc.h,v\ \$}}
\DoxyCodeLine{00049\ \textcolor{comment}{\ *\ Revision\ 1.10\ \ 2005/06/22\ 02:59:25\ \ arthchan2003}}
\DoxyCodeLine{00050\ \textcolor{comment}{\ *\ Added\ \ keyword}}
\DoxyCodeLine{00051\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00052\ \textcolor{comment}{\ *\ Revision\ 1.3\ \ 2005/03/30\ 01:22:48\ \ archan}}
\DoxyCodeLine{00053\ \textcolor{comment}{\ *\ Fixed\ mistakes\ in\ last\ updates.\ Add}}
\DoxyCodeLine{00054\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00055\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00056\ \textcolor{comment}{\ *\ 19-\/Jun-\/97\ \ \ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00057\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Removed\ file,line\ arguments\ from\ free\ functions.}}
\DoxyCodeLine{00058\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00059\ \textcolor{comment}{\ *\ 01-\/Jan-\/96\ \ \ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00060\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Created.}}
\DoxyCodeLine{00061\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \textcolor{comment}{/*********************************************************************}}
\DoxyCodeLine{00065\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00066\ \textcolor{comment}{\ *\ \$Header:\ /cvsroot/cmusphinx/sphinx3/src/libutil/ckd\_alloc.h,v\ 1.10\ 2005/06/22\ 02:59:25\ arthchan2003\ Exp\ \$}}
\DoxyCodeLine{00067\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00068\ \textcolor{comment}{\ *\ Carnegie\ Mellon\ ARPA\ Speech\ Group}}
\DoxyCodeLine{00069\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00070\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1994\ Carnegie\ Mellon\ University.}}
\DoxyCodeLine{00071\ \textcolor{comment}{\ *\ All\ rights\ reserved.}}
\DoxyCodeLine{00072\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00073\ \textcolor{comment}{\ *********************************************************************}}
\DoxyCodeLine{00074\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00075\ \textcolor{comment}{\ *\ file:\ ckd\_alloc.h}}
\DoxyCodeLine{00076\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00077\ \textcolor{comment}{\ *\ traceability:\ }}
\DoxyCodeLine{00078\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00079\ \textcolor{comment}{\ *\ description:\ }}
\DoxyCodeLine{00080\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00081\ \textcolor{comment}{\ *\ author:\ }}
\DoxyCodeLine{00082\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00083\ \textcolor{comment}{\ *********************************************************************/}}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ \textcolor{preprocessor}{\#ifndef\ \_LIBUTIL\_CKD\_ALLOC\_H\_}}
\DoxyCodeLine{00087\ \textcolor{preprocessor}{\#define\ \_LIBUTIL\_CKD\_ALLOC\_H\_}}
\DoxyCodeLine{00088\ }
\DoxyCodeLine{00089\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
\DoxyCodeLine{00090\ \textcolor{preprocessor}{\#include\ <setjmp.h>}}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00092\ \textcolor{comment}{/*\ Win32/WinCE\ DLL\ gunk\ */}}
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#include\ <sphinxbase/sphinxbase\_export.h>}}
\DoxyCodeLine{00094\ \textcolor{preprocessor}{\#include\ <sphinxbase/prim\_type.h>}}
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00104\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00105\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00106\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00107\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00108\ \textcolor{comment}{/*\ Fool\ Emacs.\ */}}
\DoxyCodeLine{00109\ \}}
\DoxyCodeLine{00110\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00127\ jmp\_buf\ *ckd\_set\_jump(jmp\_buf\ *env,\ \textcolor{keywordtype}{int}\ abort);}
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00132\ \textcolor{keywordtype}{void}\ ckd\_fail(\textcolor{keywordtype}{char}\ *format,\ ...);}
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00134\ \textcolor{comment}{/*}}
\DoxyCodeLine{00135\ \textcolor{comment}{\ *\ The\ following\ functions\ are\ similar\ to\ the\ malloc\ family,\ except}}
\DoxyCodeLine{00136\ \textcolor{comment}{\ *\ that\ they\ have\ two\ additional\ parameters,\ caller\_file\ and}}
\DoxyCodeLine{00137\ \textcolor{comment}{\ *\ caller\_line,\ for\ error\ reporting.\ \ All\ functions\ print\ a\ diagnostic}}
\DoxyCodeLine{00138\ \textcolor{comment}{\ *\ message\ if\ any\ error\ occurs,\ with\ any\ other\ behaviour\ determined\ by}}
\DoxyCodeLine{00139\ \textcolor{comment}{\ *\ ckd\_set\_jump(),\ above.}}
\DoxyCodeLine{00140\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00143\ \textcolor{keywordtype}{void}\ *\_\_ckd\_calloc\_\_(\textcolor{keywordtype}{size\_t}\ n\_elem,\ \textcolor{keywordtype}{size\_t}\ elem\_size,}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00146\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00147\ \textcolor{keywordtype}{void}\ *\_\_ckd\_malloc\_\_(\textcolor{keywordtype}{size\_t}\ size,}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00150\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00151\ \textcolor{keywordtype}{void}\ *\_\_ckd\_realloc\_\_(\textcolor{keywordtype}{void}\ *ptr,\ \textcolor{keywordtype}{size\_t}\ new\_size,}
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00153\ }
\DoxyCodeLine{00158\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00159\ \textcolor{keywordtype}{char}\ *\_\_ckd\_salloc\_\_(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *origstr,}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00166\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00167\ \textcolor{keywordtype}{void}\ *\_\_ckd\_calloc\_2d\_\_(\textcolor{keywordtype}{size\_t}\ d1,\ \textcolor{keywordtype}{size\_t}\ d2,\ \ \textcolor{comment}{/*\ In:\ \#elements\ in\ the\ 2\ dimensions\ */}}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ elemsize,\ \ \ \ \ \ \ \ \textcolor{comment}{/*\ In:\ Size\ (\#bytes)\ of\ each\ element\ */}}
\DoxyCodeLine{00169\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);\ \ \ \ \ \ \textcolor{comment}{/*\ In\ */}}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00175\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00176\ \textcolor{keywordtype}{void}\ *\_\_ckd\_calloc\_3d\_\_(\textcolor{keywordtype}{size\_t}\ d1,\ \textcolor{keywordtype}{size\_t}\ d2,\ \textcolor{keywordtype}{size\_t}\ d3,\ \ \ \ \ \ \ \textcolor{comment}{/*\ In:\ \#elems\ in\ the\ dims\ */}}
\DoxyCodeLine{00177\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ elemsize,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ In:\ Size\ (\#bytes)\ per\ element\ */}}
\DoxyCodeLine{00178\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *caller\_file,\ \textcolor{keywordtype}{int}\ caller\_line);\ \ \ \ \ \ \textcolor{comment}{/*\ In\ */}}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00184\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00185\ \textcolor{keywordtype}{void}\ ****\_\_ckd\_calloc\_4d\_\_(\textcolor{keywordtype}{size\_t}\ d1,}
\DoxyCodeLine{00186\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d2,}
\DoxyCodeLine{00187\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d3,}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d4,}
\DoxyCodeLine{00189\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ elem\_size,}
\DoxyCodeLine{00190\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *caller\_file,}
\DoxyCodeLine{00191\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00192\ }
\DoxyCodeLine{00196\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00197\ \textcolor{keywordtype}{void}\ *\ \_\_ckd\_alloc\_3d\_ptr(\textcolor{keywordtype}{size\_t}\ d1,}
\DoxyCodeLine{00198\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d2,}
\DoxyCodeLine{00199\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d3,}
\DoxyCodeLine{00200\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *store,}
\DoxyCodeLine{00201\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ elem\_size,}
\DoxyCodeLine{00202\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *caller\_file,}
\DoxyCodeLine{00203\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00208\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00209\ \textcolor{keywordtype}{void}\ *\_\_ckd\_alloc\_2d\_ptr(\textcolor{keywordtype}{size\_t}\ d1,}
\DoxyCodeLine{00210\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ d2,}
\DoxyCodeLine{00211\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *store,}
\DoxyCodeLine{00212\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{size\_t}\ elem\_size,}
\DoxyCodeLine{00213\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *caller\_file,}
\DoxyCodeLine{00214\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ caller\_line);}
\DoxyCodeLine{00215\ }
\DoxyCodeLine{00219\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00220\ \textcolor{keywordtype}{void}\ ckd\_free(\textcolor{keywordtype}{void}\ *ptr);}
\DoxyCodeLine{00221\ }
\DoxyCodeLine{00225\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00226\ \textcolor{keywordtype}{void}\ ckd\_free\_2d(\textcolor{keywordtype}{void}\ *ptr);}
\DoxyCodeLine{00227\ }
\DoxyCodeLine{00231\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00232\ \textcolor{keywordtype}{void}\ ckd\_free\_3d(\textcolor{keywordtype}{void}\ *ptr);}
\DoxyCodeLine{00233\ }
\DoxyCodeLine{00237\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00238\ \textcolor{keywordtype}{void}\ ckd\_free\_4d(\textcolor{keywordtype}{void}\ *ptr);}
\DoxyCodeLine{00239\ }
\DoxyCodeLine{00248\ \textcolor{preprocessor}{\#define\ ckd\_calloc(n,sz)\ \ \ \ \ \ \ \ \_\_ckd\_calloc\_\_((n),(sz),\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00249\ }
\DoxyCodeLine{00253\ \textcolor{preprocessor}{\#define\ ckd\_malloc(sz)\ \ \ \ \ \ \ \ \ \ \_\_ckd\_malloc\_\_((sz),\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00254\ }
\DoxyCodeLine{00258\ \textcolor{preprocessor}{\#define\ ckd\_realloc(ptr,sz)\ \ \ \ \ \_\_ckd\_realloc\_\_(ptr,(sz),\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00259\ }
\DoxyCodeLine{00264\ \textcolor{preprocessor}{\#define\ ckd\_salloc(ptr)\ \ \ \ \ \ \ \ \ \_\_ckd\_salloc\_\_(ptr,\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00265\ }
\DoxyCodeLine{00270\ \textcolor{preprocessor}{\#define\ ckd\_calloc\_2d(d1,d2,sz)\ \_\_ckd\_calloc\_2d\_\_((d1),(d2),(sz),\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00271\ }
\DoxyCodeLine{00276\ \textcolor{preprocessor}{\#define\ ckd\_calloc\_3d(d1,d2,d3,sz)\ \_\_ckd\_calloc\_3d\_\_((d1),(d2),(d3),(sz),\_\_FILE\_\_,\_\_LINE\_\_)}}
\DoxyCodeLine{00277\ }
\DoxyCodeLine{00281\ \textcolor{preprocessor}{\#define\ ckd\_calloc\_4d(d1,\ d2,\ d3,\ d4,\ s)\ \ \_\_ckd\_calloc\_4d\_\_((d1),\ (d2),\ (d3),\ (d4),\ (s),\ \_\_FILE\_\_,\ \_\_LINE\_\_)}}
\DoxyCodeLine{00282\ }
\DoxyCodeLine{00287\ \textcolor{preprocessor}{\#define\ ckd\_alloc\_2d\_ptr(d1,\ d2,\ bf,\ sz)\ \ \ \ \_\_ckd\_alloc\_2d\_ptr((d1),\ (d2),\ (bf),\ (sz),\ \_\_FILE\_\_,\ \_\_LINE\_\_)}}
\DoxyCodeLine{00288\ }
\DoxyCodeLine{00292\ \textcolor{preprocessor}{\#define\ ckd\_free\_2d\_ptr(bf)\ ckd\_free(bf)}}
\DoxyCodeLine{00293\ }
\DoxyCodeLine{00298\ \textcolor{preprocessor}{\#define\ ckd\_alloc\_3d\_ptr(d1,\ d2,\ d3,\ bf,\ sz)\ \_\_ckd\_alloc\_3d\_ptr((d1),\ (d2),\ (d3),\ (bf),\ (sz),\ \_\_FILE\_\_,\ \_\_LINE\_\_)}}
\DoxyCodeLine{00299\ }
\DoxyCodeLine{00303\ \textcolor{preprocessor}{\#define\ ckd\_free\_3d\_ptr(bf)\ ckd\_free\_2d(bf)}}
\DoxyCodeLine{00304\ }
\DoxyCodeLine{00305\ }
\DoxyCodeLine{00306\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00307\ \}}
\DoxyCodeLine{00308\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00309\ }
\DoxyCodeLine{00310\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
