aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/python/runtime/_couscous.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-11-15 14:20:06 +0000
committerMichael Williamson <mike@zwobble.org>2015-11-15 14:20:06 +0000
commit549099039ef76a04ed524448c070a0c5328c52b2 (patch)
tree14c8eea1b8874d339282d854c612622c73a844e7 /src/main/resources/python/runtime/_couscous.py
parentf4019f5ed78b0d9c0eb7c7a1b4d97e5c83003ff1 (diff)
Handle boxing for return statements
Diffstat (limited to 'src/main/resources/python/runtime/_couscous.py')
-rw-r--r--src/main/resources/python/runtime/_couscous.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/python/runtime/_couscous.py b/src/main/resources/python/runtime/_couscous.py
index 70d9a97..aa108a5 100644
--- a/src/main/resources/python/runtime/_couscous.py
+++ b/src/main/resources/python/runtime/_couscous.py
@@ -1,4 +1,5 @@
from .java.lang.Integer import Integer
+from .java.lang.Boolean import Boolean
def _div_round_to_zero(a, b):
@@ -9,3 +10,6 @@ def _mod_round_to_zero(a, b):
def boxInt(value):
return Integer(value)
+
+def boxBoolean(value):
+ return Boolean(value) \ No newline at end of file