aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm/source/luxc/lang/translation/jvm/primitive.lux
diff options
context:
space:
mode:
Diffstat (limited to 'lux-jvm/source/luxc/lang/translation/jvm/primitive.lux')
-rw-r--r--lux-jvm/source/luxc/lang/translation/jvm/primitive.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-jvm/source/luxc/lang/translation/jvm/primitive.lux b/lux-jvm/source/luxc/lang/translation/jvm/primitive.lux
index 2c814d24f..313c12f9b 100644
--- a/lux-jvm/source/luxc/lang/translation/jvm/primitive.lux
+++ b/lux-jvm/source/luxc/lang/translation/jvm/primitive.lux
@@ -17,7 +17,7 @@
["." jvm (#+ Inst Operation)
["_" inst]]]]])
-(def: #export bit
+(def: .public bit
(-> Bit (Operation Inst))
(let [Boolean (type.class "java.lang.Boolean" (list))]
(function (_ value)
@@ -33,7 +33,7 @@
(#static MAX_VALUE short)
(#static MIN_VALUE short)])
-(def: #export (i64 value)
+(def: .public (i64 value)
(-> (I64 Any) (Operation Inst))
(case (.int value)
(^template [<int> <instruction>]
@@ -74,7 +74,7 @@
Int
(java/lang/Double::doubleToRawLongBits +0.0))
-(def: #export (f64 value)
+(def: .public (f64 value)
(-> Frac (Operation Inst))
(case value
(^template [<int> <instruction>]
@@ -107,6 +107,6 @@
(_.double value))]
(operation@in (|>> constantI (_.wrap type.double))))))
-(def: #export text
+(def: .public text
(-> Text (Operation Inst))
(|>> _.string operation@in))