#ifndef BW_STRING_H
#define BW_STRING_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef BW_BINDGEN
#include <stddef.h>
#else
#ifdef BW_WIN32
typedef unsigned long long size_t;
#else
#include <stddef.h>
#endif
#endif
typedef struct bw_StrSlice {
size_t len;
char* data;
} bw_StrSlice;
typedef struct bw_CStrSlice {
size_t len;
const char* data;
} bw_CStrSlice;
char* bw_string_copyAsNewCstr( bw_CStrSlice str );
void bw_string_freeCstr( char* str );
void bw_string_free(bw_StrSlice str);
void bw_string_freeC(bw_CStrSlice str);
#ifdef __cplusplus
} #endif
#endif