NCEPLIBS-bufr
12.1.0
|
Allocate or deallocate C language arrays. More...
Go to the source code of this file.
Macros | |
#define | IN_ARALLOCC |
Macro to control whether certain variables are explicitly declared or referenced as extern. More... | |
Functions | |
void | arallocc (void) |
Dynamically allocate C language arrays. More... | |
void | ardllocc (void) |
Free all memory that was dynamically allocated during a previous call to subroutine arallocc(). More... | |
#define IN_ARALLOCC |
Macro to control whether certain variables are explicitly declared or referenced as extern.
Definition at line 9 of file arallocc.c.
void arallocc | ( | void | ) |
Dynamically allocate C language arrays.
This subroutine is called internally during the first call to subroutine openbf() from an application program, in order to dynamically allocate internal C language arrays based on parameter values set during one or more previous calls to function isetprm().
All memory allocated within this subroutine can be freed via a subsequent call to subroutine exitbufr().
Definition at line 29 of file arallocc.c.
References bort_f(), cbbw_c, cbelem_c, cbmnem_c, cbscl_c, cbsref_c, cbunit_c, cdmnem_c, cdseq_c, iafpk, ibfxyn_c, idefxy_c, idfxyn_c, igetprm_f(), lstpos, ndelem_c, and pb.
void ardllocc | ( | void | ) |
Free all memory that was dynamically allocated during a previous call to subroutine arallocc().
Definition at line 90 of file arallocc.c.
References cbbw_c, cbelem_c, cbmnem_c, cbscl_c, cbsref_c, cbunit_c, cdmnem_c, cdseq_c, iafpk, ibfxyn_c, idefxy_c, idfxyn_c, lstpos, ndelem_c, and pb.