MorePalmOS
A development library for developing Palm OS applications

MorePrivate.h File Reference

#include "MoreErrorMgr.h"

Include dependency graph for MorePrivate.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Defines

#define _ifdebug(statement)   statement
#define _check(assertion)   merr_checkf( assertion )
#define _validate_form_ptr(formP)   merr_validate_form_ptr( formP )
#define _validate_const_form_ptr(formP)   merr_validate_const_form_ptr( formP )
#define _validate_object_id(formP, objID)   merr_validate_object_id( formP, objID )
#define _validate_object_idx(formP, objIdx)   merr_validate_object_idx( formP, objIdx )
#define _validate_object_ptr(objP)   merr_validate_object_ptr( objP )
#define _validate_const_object_ptr(objP)   merr_validate_const_object_ptr( objP )
#define _validate_field_ptr(fieldP)   merr_validate_field_ptr( fieldP )
#define _validate_memhandle(hand)   merr_validate_memhandle( hand )
#define _require(success, label)   merr_require( success, label, MOREPALMOS_SELF_NOTIFY )
#define _reject(failure, label)   merr_reject( failure, label, MOREPALMOS_SELF_NOTIFY )
#define _require_action(success, action, label)   merr_require_action( success, action, label, MOREPALMOS_SELF_NOTIFY )
#define _reject_action(failure, action, label)   merr_reject_action( failure, action, label, MOREPALMOS_SELF_NOTIFY )
#define _notify_of_error()   _NotifyOfError( MOREPALMOS_SELF_NOTIFY )
#define _min(a, b)   (((a) < (b)) ? (a) : (b))
 Return minimum of two parameters.
#define _max(a, b)   (((a) > (b)) ? (a) : (b))
 Return maximum of two parameters.
#define _rinline   inline

Define Documentation

#define _check assertion   )     merr_checkf( assertion )
 

Definition at line 55 of file MorePrivate.h.

#define _ifdebug statement   )     statement
 

Definition at line 49 of file MorePrivate.h.

#define _max a,
 )     (((a) > (b)) ? (a) : (b))
 

Return maximum of two parameters.

Like most min macros, this isn't very safe to use as it requires the expressions be evaluated multiple times.

Definition at line 97 of file MorePrivate.h.

#define _min a,
 )     (((a) < (b)) ? (a) : (b))
 

Return minimum of two parameters.

Like most min macros, this isn't very safe to use as it requires the expressions be evaluated multiple times.

Definition at line 91 of file MorePrivate.h.

 
#define _notify_of_error  )     _NotifyOfError( MOREPALMOS_SELF_NOTIFY )
 

Definition at line 84 of file MorePrivate.h.

#define _reject failure,
label   )     merr_reject( failure, label, MOREPALMOS_SELF_NOTIFY )
 

Definition at line 77 of file MorePrivate.h.

#define _reject_action failure,
action,
label   )     merr_reject_action( failure, action, label, MOREPALMOS_SELF_NOTIFY )
 

Definition at line 81 of file MorePrivate.h.

#define _require success,
label   )     merr_require( success, label, MOREPALMOS_SELF_NOTIFY )
 

Definition at line 75 of file MorePrivate.h.

#define _require_action success,
action,
label   )     merr_require_action( success, action, label, MOREPALMOS_SELF_NOTIFY )
 

Definition at line 79 of file MorePrivate.h.

#define _rinline   inline
 

_rinline allows us to specify functions that should be inline when compiled in release mode, but left as standalone for debugging. This should be used only for very short, private functions.

Definition at line 105 of file MorePrivate.h.

#define _validate_const_form_ptr formP   )     merr_validate_const_form_ptr( formP )
 

Definition at line 60 of file MorePrivate.h.

#define _validate_const_object_ptr objP   )     merr_validate_const_object_ptr( objP )
 

Definition at line 68 of file MorePrivate.h.

#define _validate_field_ptr fieldP   )     merr_validate_field_ptr( fieldP )
 

Definition at line 70 of file MorePrivate.h.

#define _validate_form_ptr formP   )     merr_validate_form_ptr( formP )
 

Definition at line 58 of file MorePrivate.h.

#define _validate_memhandle hand   )     merr_validate_memhandle( hand )
 

Definition at line 72 of file MorePrivate.h.

#define _validate_object_id formP,
objID   )     merr_validate_object_id( formP, objID )
 

Definition at line 62 of file MorePrivate.h.

#define _validate_object_idx formP,
objIdx   )     merr_validate_object_idx( formP, objIdx )
 

Definition at line 64 of file MorePrivate.h.

#define _validate_object_ptr objP   )     merr_validate_object_ptr( objP )
 

Definition at line 66 of file MorePrivate.h.

SourceForge.net Logo