summaryrefslogtreecommitdiff
path: root/cc3200
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-10-18 11:06:20 +1100
committerDamien George <damien.p.george@gmail.com>2016-10-21 16:26:01 +1100
commit4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2 (patch)
treed6188cf8f6579ffa66b8370032b8184a901a5312 /cc3200
parent5d0735b93a52ff7f2f41dd27f3a22ca847f6b49b (diff)
py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.
In order to have more fine-grained control over how builtin functions are constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific, with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW. These names now match the MP_DEFINE_CONST_FUN_OBJ macros.
Diffstat (limited to 'cc3200')
-rw-r--r--cc3200/util/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/util/random.h b/cc3200/util/random.h
index 860b46173..67fd1ff85 100644
--- a/cc3200/util/random.h
+++ b/cc3200/util/random.h
@@ -30,6 +30,6 @@
void rng_init0 (void);
uint32_t rng_get (void);
-MP_DECLARE_CONST_FUN_OBJ(machine_rng_get_obj);
+MP_DECLARE_CONST_FUN_OBJ_0(machine_rng_get_obj);
#endif // __RANDOM_H