Implement custom assert macro

Summary: assert.h assertion gets stripped from builds. I don't want these assertions to be stripped so implement a custom assert macro. This also allows the assertion to be documented with a message.

Reviewed By: javache

Differential Revision: D3648805

fbshipit-source-id: a6bf1bb55e1e0ee37284647ab76d66f3956a66c0
This commit is contained in:
Emil Sjolander
2016-08-02 08:07:11 -07:00
committed by Facebook Github Bot 7
parent ac44d2ea6e
commit 9689062f6c
4 changed files with 22 additions and 8 deletions

View File

@@ -15,6 +15,7 @@
#include <stdint.h>
#include <CSSLayout/CSSLayout.h>
#include <CSSLayout/CSSMacros.h>
CSS_EXTERN_C_BEGIN