2025-08-03 10:07:35 -04:00
|
|
|
#ifndef _STRING_H_
|
|
|
|
|
#define _STRING_H_
|
|
|
|
|
|
|
|
|
|
#include "string.h"
|
2026-01-05 08:58:06 -05:00
|
|
|
#include <akerror.h>
|
2025-08-03 10:07:35 -04:00
|
|
|
|
|
|
|
|
#define MAX_STRING_LENGTH 256
|
|
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
int refcount;
|
|
|
|
|
char data[MAX_STRING_LENGTH];
|
|
|
|
|
} string;
|
|
|
|
|
|
|
|
|
|
ErrorContext ERROR_NOIGNORE *string_initialize(string *obj, char *init);
|
|
|
|
|
|
|
|
|
|
#endif //_STRING_H_
|