Files
c-prime/application/demos/example.console.log/text.h
2025-11-17 10:28:09 +01:00

76 lines
1023 B
C

#ifndef _text
#define _text
// Macros
#include "stdlib.h"
extern char * __ClassNames[];
// Includes
#include <dirent.h>
#include <array.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
typedef struct text{
char * value;
int usevalue;
int length;
int capacity;
} text;
int text_operator_compare( text * this, text * b );
text * text_operator_add( text * this, char * b );
void text_constructor( text * this, char * value );
char text_get( text * this, int index );
void text_resize( text * this, int size );
text * text_append( text * this, char * value );
text * text_appendBinary( text * this, char * value, int size );
text * text_appendObject( text * this, text * object );
text * text_concatenate( text * this, char * value );
char * text_toNative( text * this );
char * text_whiteSpace( text * this, int whiteSpaceCount );
void text_free( text * this );
text text_new( char * value );
text * text_newPointer( char * value );
#endif
typedef struct text text;