[TextEditor_mcc] Re: mcc/Dispatcher.c

  • From: Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Mon, 16 Oct 2006 11:11:00 +0200

Thore Böckelmann schrieb:

>> Thus it is extremely unlikely that INST_DATA() macro would return NULL 
>> pointer...
> 
> All other MUI classes I know of also don't check for INST_DATA() == NULL, so 
> it
> seems to be unnecessary. But on the other hand that check doesn't cause any
> harm. And regardless of the CPU this check doesn't slow things down much, so 
> we
> can leave it in, I think.

This is currently in there for debug reason only. So please keep it
there. However, it should be sourrounded by "#if defined(DEBUG)" statements.

cheers,
jens
-- 
Jens Langner                                         Ph: +49-172-4452254
Rißweg 27b
01324 Dresden                                Jens.Langner@xxxxxxxxxxxxxx
Germany                                      http://www.jens-langner.de/
_____________________________________________________________________________
TextEditor ML   - http://www.freelists.org/list/texteditor_mcc
Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP
Bugtracker......: http://sourceforge.net/tracker/?atid=731469&group_id=135025

Other related posts: