Add R_DEBUG_ASSERT in DEVELOPERS.md
This commit is contained in:
parent
1bb248d761
commit
6f86ccb153
1 changed files with 2 additions and 0 deletions
|
|
@ -193,6 +193,8 @@ r_core_wrap.cxx:32103:61: error: assigning to 'RDebugReasonType' from incompatib
|
|||
|
||||
* Do not use assert.h, use r_util/r_assert.h instead.
|
||||
|
||||
* You can use `export R_DEBUG_ASSERT=1` to set a breakpoint when hitting an assert.
|
||||
|
||||
* Do not use C99 variable declaration
|
||||
- This way we reduce the number of local variables per function
|
||||
and it's easier to find which variables are used, where and so on.
|
||||
|
|
|
|||
Loading…
Reference in a new issue