#include <Utils.h>
Definition at line 19 of file Utils.h.
◆ CString()
jetski::utils::CString::CString |
( |
JNIEnv * |
env, |
|
|
const jstring & |
jstr |
|
) |
| |
|
inline |
Definition at line 21 of file Utils.h.
23 , fJString(jstr)
24 , fCString(
env->GetStringUTFChars(jstr,
nullptr))
25 {}
◆ ~CString()
jetski::utils::CString::~CString |
( |
| ) |
|
|
inline |
Definition at line 27 of file Utils.h.
27 {
28 fEnv->ReleaseStringUTFChars(fJString, fCString);
29 }
◆ operator const char *()
jetski::utils::CString::operator const char * |
( |
| ) |
const |
|
inline |
◆ str()
const char * jetski::utils::CString::str |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- third_party/skia/modules/jetski/src/Utils.h