Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeBytesData ¶
unsafeBytesData returns a C string backed by Go data. The C string is NOT null-terminated, so its length must be taken into account.
If the array backing the b Go slice is garbage collected, the returned C data will be invalid and will crash the program if used. As such, the resulting data must only be used inside the implementation of the qml package and while the life time of the Go array is guaranteed.
func UnsafeString ¶
unsafeString returns a Go string backed by C data.
If the C data is deallocated or moved, the string will be invalid and will crash the program if used. As such, the resulting string must only be used inside the implementation of the qml package and while the life time of the C data is guaranteed.
func UnsafeStringData ¶
unsafeStringData returns a C string backed by Go data. The C string is NOT null-terminated, so its length must be taken into account.
If the s Go string is garbage collected, the returned C data will be invalid and will crash the program if used. As such, the resulting data must only be used inside the implementation of the qml package and while the life time of the Go string is guaranteed.
Types ¶
This section is empty.