sfml 0.25.1

Rust binding for sfml
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <cstddef>
#include <string>

extern "C" void sfStdString_del(std::string *s) {
    delete s;
}

extern "C" size_t sfStdString_getLength(const std::string *s) {
    return s->size();
}

extern "C" const char *sfStdString_getData(const std::string *s) {
    return s->data();
}