Home | History | Annotate | Download | only in nspr

Lines Matching refs:_struct

90 **   PR_NEW() allocates an item of type _struct from the heap.
91 ** INPUTS: _struct: a data type
92 ** OUTPUTS: pointer to _struct
93 ** RETURN: pointer to _struct or error returns from malloc().
95 #define PR_NEW(_struct) ((_struct *) PR_MALLOC(sizeof(_struct)))
123 ** PR_NEWZAP() allocates an item of type _struct from the heap
125 ** INPUTS: _struct: a data type
126 ** OUTPUTS: pointer to _struct
127 ** RETURN: pointer to _struct
129 #define PR_NEWZAP(_struct) ((_struct*)PR_Calloc(1, sizeof(_struct)))