add todo
This commit is contained in:
parent
e15fb74e64
commit
7eb4a346b8
3 changed files with 12 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
||||||
|
def test_func
|
||||||
|
rust_func(5, "test")
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
STATE = {
|
||||||
|
"a_value" => nil
|
||||||
|
}
|
||||||
|
|
||||||
|
def test_func(a)
|
||||||
|
STATE["a_value"] = a
|
||||||
|
end
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
// TODO: consider dropping magnus
|
// TODO: consider dropping magnus
|
||||||
// TODO: unwinding https://doc.rust-lang.org/nomicon/ffi.html#variadic-functions
|
// TODO: unwinding https://doc.rust-lang.org/nomicon/ffi.html#variadic-functions
|
||||||
// TODO: maybe unify api and call non thread methods non_send
|
// TODO: maybe unify api and call non thread methods non_send
|
||||||
|
// TODO: use ruby arena to rewind state
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
collections::HashMap,
|
collections::HashMap,
|
||||||
ffi::{c_void, CString},
|
ffi::{c_void, CString},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue