Last change
on this file was
12336,
checked in by westram, 10 years ago
|
- add GB_keep_string
- keeps an allocated c-string until program termination
- use this for allocated c-strings passed to callbacks
|
File size:
542 bytes
|
Line | |
---|
1 | /* This file is generated by aisc_mkpt. |
---|
2 | * Any changes you make here will be overwritten later! |
---|
3 | */ |
---|
4 | |
---|
5 | #ifndef ARB_STRING_H |
---|
6 | #define ARB_STRING_H |
---|
7 | |
---|
8 | /* define ARB attributes: */ |
---|
9 | #ifndef ATTRIBUTES_H |
---|
10 | # include <attributes.h> |
---|
11 | #endif |
---|
12 | |
---|
13 | |
---|
14 | /* arb_string.cxx */ |
---|
15 | char *GB_strduplen(const char *p, unsigned len); |
---|
16 | char *GB_strpartdup(const char *start, const char *end); |
---|
17 | char *GB_strndup(const char *start, int len); |
---|
18 | const char *GB_date_string(void); |
---|
19 | const char *GB_keep_string(char *str); |
---|
20 | |
---|
21 | #else |
---|
22 | #error arb_string.h included twice |
---|
23 | #endif /* ARB_STRING_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.