rhai_codegen 3.1.0

Procedural macros support package for Rhai, a scripting language and engine for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: Rhai functions cannot return pointers
  --> ui_tests/return_pointer.rs:13:33
   |
13 | pub fn test_fn(input: Clonable) -> *const str {
   |                                 ^

error[E0425]: cannot find function `test_fn` in this scope
  --> ui_tests/return_pointer.rs:25:19
   |
25 |         let ptr = test_fn(n);
   |                   ^^^^^^^ not found in this scope