From 4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 18 Oct 2016 11:06:20 +1100 Subject: 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. --- cc3200/util/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc3200') 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 -- cgit v1.2.3