Add ACE-specific assert implementation
Aperta
Easy
enhancement
- Lingua principale
- C
- Stelle
- 223
- Fork
- 38
- Merge medio
- 1g 5h
- PR unite (30g)
- 6
Descrizione
- replace `checkNull()` with `assert()` (`aceAssert()`?)
- follow `static_assert()` syntax with 2nd parameter allowing for error message
- nice to have: treat 2nd parameter as format string and remaining ones as va_args for `logWrite()`
- should use `logWrite()` and then hang in infinite loop
- in release builds, asserts should do nothing
- perhaps add a compile option to make them work in release builds with `systemKill()` prints to console?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.