Mercurial > repos > tabletprog
diff modules/string.tp @ 341:6871e72b6db2
Added int64 message to string type
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 05 Apr 2015 22:48:59 -0700 |
parents | 74cab9b5f2a4 |
children |
line wrap: on
line diff
--- a/modules/string.tp Sun Apr 05 21:34:49 2015 -0700 +++ b/modules/string.tp Sun Apr 05 22:48:59 2015 -0700 @@ -87,6 +87,14 @@ intret num!: (atoi: data) intret } + + llMessage: int64 withVars: { + int64ret <- (obj_int64 ptr) + } andCode: { + int64ret <- make_object: (addr_of: obj_int64_meta) NULL 0 + int64ret num!: (atoll: data) + int64ret + } parseHex32 <- { num <- 0u32