bwapi-sys 0.1.2

FFI bindings to the bwapi-c library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <Types.h>

#ifdef __cplusplus
extern "C" {
#endif

BwString* BwString_new(const char* data, int len);
const char* BwString_data(const BwString* self);
int BwString_len(const BwString* self);
void BwString_release(BwString* self);

#ifdef __cplusplus
} // extern "C"
#endif