export_fn: add return_raw attribute

This commit is contained in:
J Henry Waugh
2020-08-09 14:19:39 -05:00
parent c5937f990e
commit 07a4541949
12 changed files with 227 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ struct Point {
y: f32,
}
#[export_fn(unknown = true)]
#[export_fn(unknown = "thing")]
pub fn test_fn(input: Point) -> bool {
input.x > input.y
}