Rightpoint / RZAssert

Useful assertion macros from the fine folks at Raizlabs.
Other
7 stars 0 forks source link

C-based assertions #8

Closed mgorbach closed 9 years ago

mgorbach commented 9 years ago

/cc @mattThousand

We need C-based equivalents of all the RZAssert functions, so that the can be used in static methods. It would be awesome if we could generate these without copying everything twice.

ZevEisenberg commented 9 years ago

@mgorbach that could be… tricky. You can’t use macros to generate other macros (as far as I understand), and if you use functions/methods, then you end up not breaking in the right place (a problem that @mattThousand and @markpragma are running into with the Swift port as well). We only need to write this stuff once. It’s not like it’s going to be frequently modified after it’s set up.

ZevEisenberg commented 9 years ago

Fixed by #16.