Logo Search packages:      
Sourcecode: blender version File versions

DynStr* BLI_dynstr_new ( void   ) 

Create a new DynStr.

Returns:
Pointer to a new DynStr.

Definition at line 61 of file BLI_dynstr.c.

References BLI_dynstr_new().

Referenced by BLI_dynstr_new().

                             {
      DynStr *ds= MEM_mallocN(sizeof(*ds), "DynStr");
      ds->elems= ds->last= NULL;
      ds->curlen= 0;
      
      return ds;
}


Generated by  Doxygen 1.6.0   Back to index