summaryrefslogtreecommitdiff
path: root/libs/string.h
blob: 224d2859f7e467abb58530db4d04ba2be0bcb267 (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

typedef struct string
{
	char *string;
	int length;
} String;

String newString (char *string);
void freeString (String *s);