mobile-app/rust-adapter/glue.rs

14 lines
353 B
Rust
Raw Normal View History

//Automatically generated by rifgen
use crate::*;
use jni_sys::*;
foreign_class!(
class Foo {
self_type Foo;
constructor Foo::new(val : i32)->Foo;
fn Foo::f(& self , a : i32 , b : i32)->i32; alias f;
fn Foo::get_data(& self)->i32; alias getData;
# [doc = "Custom doc comment"]
fn Foo::set_field(& mut self , v : i32); alias setField;
}
);