libsbml-draw
string_helpers.h
Go to the documentation of this file.
1 /* MIT License
2  */
3 
4 //== FILEDOC =========================================================================
5 
10 //== BEGINNING OF CODE ===============================================================
11 
12 #ifndef __SBNW_UTIL_STRING_H_
13 #define __SBNW_UTIL_STRING_H_
14 
15 //== INCLUDES ========================================================================
16 
17 #include "SagittariusCore.h"
18 
19 //-- C methods --
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 // allocates memory & copies src into it - user must deallocate
28 _GraphfabExport char* gf_strclone(const char* src);
29 
34 _GraphfabExport void gf_strfree(char* str);
35 
36 #ifdef __cplusplus
37 }//extern "C"
38 #endif
39 
40 #endif
First file included.
_GraphfabExport void gf_strfree(char *str)
Free a C string (char*)
Definition: string_helpers.c:28