Re: [AD] al_assert

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hmm. I'm not sure what it should actually do - isn't it platform
dependent? On OSX there's an equivalent function NSAssert which raises
an exception if it's triggered, but what is the equivalent on other
platforms?

Pete

On Thu, Apr 16, 2009 at 12:04 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2009-04-15, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
>> I added a patch to the tracker, it adds a new AL_FUNC_NORETURN macro
>> (in case there are any other functions we want to mark) I haven't
>> tested with MSVC. Unfortunately it now complains that al_assert can
>> return (which it can) - could we clear that up too?
>
> Yes, get rid of the register_assert_handler() stuff.
>
> Not sure about register_trace_handler.
>
> Peter
>
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/