18 lines
324 B
C
18 lines
324 B
C
#ifndef _STRING_H_
|
|
#define _STRING_H_
|
|
|
|
#include "string.h"
|
|
#include <akerror.h>
|
|
|
|
#define AKGL_MAX_STRING_LENGTH 256
|
|
|
|
typedef struct
|
|
{
|
|
int refcount;
|
|
char data[AKGL_MAX_STRING_LENGTH];
|
|
} akgl_String;
|
|
|
|
akerr_ErrorContext AKERR_NOIGNORE *akgl_string_initialize(akgl_String *obj, char *init);
|
|
|
|
#endif //_STRING_H_
|