aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/ffi/export.rb.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/ffi/export.rb.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/ffi/export.rb.lux b/stdlib/source/library/lux/ffi/export.rb.lux
index 62fa2b691..614cd7b45 100644
--- a/stdlib/source/library/lux/ffi/export.rb.lux
+++ b/stdlib/source/library/lux/ffi/export.rb.lux
@@ -114,7 +114,7 @@
.let [[:input:/* :output:] (type.flat_function type)
code (if global?
(/.set (list (/.manual name)) term)
- (case :input:/*
+ (when :input:/*
{.#End}
(/.function (/.manual name) (list)
(/.return term))
@@ -136,7 +136,7 @@
(monad.each ! ..definition)))
(at ! conjoint)
(at ! each (list#each (function (_ [name term])
- (` (<extension> (,* (case name
+ (` (<extension> (,* (when name
{#Method name}
(list (code.bit false) (code.text name))