source: branches/profile/CORE/arb_string.h

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 */
15char *GB_strduplen(const char *p, unsigned len);
16char *GB_strpartdup(const char *start, const char *end);
17char *GB_strndup(const char *start, int len);
18const char *GB_date_string(void);
19const 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.