summaryrefslogtreecommitdiff
path: root/py/objstr.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-15 22:03:55 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-15 22:03:55 +0100
commit897fe0c0d0e29875cfa32939237c9a6255c5d044 (patch)
tree9dd2dc8ea2fd07c465b12d81b01c946b8e8120b7 /py/objstr.h
parentd5323f07ff79c20644ff64a247adad54b510a9a9 (diff)
py: Add builtin functions bin and oct, and some tests for them.
Diffstat (limited to 'py/objstr.h')
-rw-r--r--py/objstr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objstr.h b/py/objstr.h
index a32ba53b1..800568de8 100644
--- a/py/objstr.h
+++ b/py/objstr.h
@@ -8,3 +8,5 @@ typedef struct _mp_obj_str_t {
} mp_obj_str_t;
#define MP_DEFINE_STR_OBJ(obj_name, str) mp_obj_str_t obj_name = {{&mp_type_str}, 0, sizeof(str) - 1, (const byte*)str};
+
+mp_obj_t mp_obj_str_format(uint n_args, const mp_obj_t *args);