diff options
Diffstat (limited to 'tapset/conversions.stp')
-rw-r--r-- | tapset/conversions.stp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tapset/conversions.stp b/tapset/conversions.stp index 5c0230d4..901f26a4 100644 --- a/tapset/conversions.stp +++ b/tapset/conversions.stp @@ -1,14 +1,8 @@ -function _hexstring (num) %{ +function hexstring:string (num:long) %{ sprintf (THIS->__retvalue, "0x%llx", (long long) THIS->num); %} -function hexstring (num) { - return "" . _hexstring (num + 0) -} -function _string (num) %{ +function string:string (num:long) %{ sprintf (THIS->__retvalue, "%lld", (long long) THIS->num); %} -function string (num) { - return "" . _string (num + 0) -} |