Add R_DEBUG_ASSERT in DEVELOPERS.md

This commit is contained in:
Maijin 2019-06-16 12:26:08 +02:00 committed by GitHub
parent 1bb248d761
commit 6f86ccb153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.