| 171 | } |
| 172 | |
| 173 | static jint SendChartTouchEvent(JNIEnv *env, jclass clazz, jlong chart, jstring event) { |
| 174 | std::string _event = JavaStringToString(env, event); |
| 175 | bool ret = false; |
| 176 | xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart); |
| 177 | ret = _chart->OnTouchEvent(std::move(_event)); |
| 178 | return ret ? 1 : 0; |
| 179 | } |
| 180 | |
| 181 | static jlong CreateChartGeom(JNIEnv *env, jclass clazz, jlong chart, jstring type) { |
| 182 | xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart); |
nothing calls this directly
no test coverage detected