libqmlbind
A C library for creating QML bindings for other languages easily through exporting objects to QML
string.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "qmlbind_global.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
38 QMLBIND_API const char *qmlbind_string_get_chars(const qmlbind_string *self);
39 
50 QMLBIND_API int qmlbind_string_get_length(const qmlbind_string *self);
51 
55 QMLBIND_API void qmlbind_string_release(qmlbind_string *self);
56 
58 #ifdef __cplusplus
59 }
60 #endif
QMLBIND_API const char * qmlbind_string_get_chars(const qmlbind_string *self)
Returns a pointer to the chars stored in the qmlbind_string.
Contains all struct definitions of libqmlbind.
QMLBIND_API void qmlbind_string_release(qmlbind_string *self)
Destroys the qmlbind_string.
an opaque struct mainly used as self argument in the methods defined in qmlbind_string.
Definition: qmlbind_global.h:66
QMLBIND_API int qmlbind_string_get_length(const qmlbind_string *self)
Returns the number of chars in this string.