libk  Diff

Differences From Artifact [69d05c5e37]:

To Artifact [a45d7fa32d]:


1
2
3
4




5
6
7
8
9
10
11
..
13
14
15
16
17
18
19



20


#ifndef KIstr
#define KIstr

#include <k/mem.h>





typedef struct kstr {
	sz size;
	kmptr ptr;
} kstr;

typedef struct ksraw {
................................................................................
	const char* ptr;
} ksraw;

typedef struct ksmut {
	sz size;
	char* ptr;
} ksmut;



#endif






>
>
>
>







 







>
>
>

>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
..
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef KIstr
#define KIstr

#include <k/mem.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct kstr {
	sz size;
	kmptr ptr;
} kstr;

typedef struct ksraw {
................................................................................
	const char* ptr;
} ksraw;

typedef struct ksmut {
	sz size;
	char* ptr;
} ksmut;

#ifdef __cplusplus
}
#endif

#endif