forked fromadafruit/circuitpython
- Notifications
You must be signed in to change notification settings - Fork1
Commit8c50f93
committed
py/runtime.h: Define mp_check_self(pred) helper macro.
Indended to replace raw asserts in bunch of files. Expands to emptyif MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG is defined, otehrwise bydefault still to assert, though a particular port may define it tosomething else.1 parent9e1b61d commit8c50f93
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
144 | 154 | | |
145 | 155 | | |
146 | 156 | | |
| |||
0 commit comments
Comments
(0)