libk  Artifact [a45d7fa32d]

Artifact a45d7fa32d074b6d96340bd4d0db9a6679d143cd27c8c51d315550c783578fe5:


#ifndef KIstr
#define KIstr

#include <k/mem.h>

#ifdef __cplusplus
extern "C" {
#endif

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

typedef struct ksraw {
	sz size;
	const char* ptr;
} ksraw;

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

#ifdef __cplusplus
}
#endif

#endif