diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-30 12:10:49 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-30 12:10:49 +0100 |
| commit | e93e9e7ff4a73bc98a0dcd410eff87dffff3aa1c (patch) | |
| tree | 992024e5df64d7735618d2b0d0f85bbc313c6416 /src/compiler.rs | |
| parent | 674695d7e28f03218aa5a3facd933b87d508ea7d (diff) | |
| download | sylt-e93e9e7ff4a73bc98a0dcd410eff87dffff3aa1c.tar.gz | |
external functions proc macro
Diffstat (limited to 'src/compiler.rs')
| -rw-r--r-- | src/compiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index 866e0a3..559068d 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -182,7 +182,7 @@ impl Frame { } } -pub type RustFunction = fn(&[Value]) -> Value; +pub type RustFunction = fn(&[Value], bool) -> Result<Value, ErrorKind>; #[derive(Debug, Clone)] pub struct Blob { |
