aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/python/runtime/_couscous.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-11-21 19:26:58 +0000
committerMichael Williamson <mike@zwobble.org>2015-11-21 19:26:58 +0000
commit3da09a0306e69ceec6c6c1c4da8240736075b131 (patch)
treeabbaa25bbce3015e650d5f4a8a37f9f7d2622f91 /src/main/resources/python/runtime/_couscous.py
parent9768326b29ae0338a0fb6614b73fa9a03af471fd (diff)
Add support for no more than one anonymous class
Diffstat (limited to 'src/main/resources/python/runtime/_couscous.py')
-rw-r--r--src/main/resources/python/runtime/_couscous.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/python/runtime/_couscous.py b/src/main/resources/python/runtime/_couscous.py
index aa108a5..8d92f8e 100644
--- a/src/main/resources/python/runtime/_couscous.py
+++ b/src/main/resources/python/runtime/_couscous.py
@@ -11,5 +11,8 @@ def _mod_round_to_zero(a, b):
def boxInt(value):
return Integer(value)
+def unboxInt(value):
+ return value._value
+
def boxBoolean(value):
return Boolean(value) \ No newline at end of file