On 02/02/2017 16:17, Nick Wellnhofer wrote:
When converting Obj_Is_A, Obj_Get_Class, and Obj_Get_Class_Name from methods
to functions, I added autogenerated inline function wrappers for each class
that make it possible to call these functions without casting the invocant to
Obj. Now I moved Err_downcast and Err_certify to Obj, and these functions use
a macro as wrapper. We should use the same approach for all these wrappers.

I didn't realize that the reason why we have to use DOWNCAST and CERTIFY macros is that we want accurate line numbers in the reported exceptions. So let's leave everything as is for now.

Nick

Reply via email to