Replace global "static" -> "STATIC", to allow "analysis builds". Part 1.
Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity().
This commit is contained in:
@@ -27,7 +27,7 @@ const mp_obj_type_t ellipsis_type = {
|
||||
.print = ellipsis_print,
|
||||
};
|
||||
|
||||
static const mp_obj_ellipsis_t ellipsis_obj = {{&ellipsis_type}};
|
||||
STATIC const mp_obj_ellipsis_t ellipsis_obj = {{&ellipsis_type}};
|
||||
const mp_obj_t mp_const_ellipsis = (mp_obj_t)&ellipsis_obj;
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user