MorePalmOS
A development library for developing Palm OS applications

MoreErrorMgr.c File Reference

#include "MorePrefix.h"
#include "MoreErrorMgr.h"
#include "MorePrivate.h"
#include <StringMgr.h>

Include dependency graph for MoreErrorMgr.c:

Include dependency graph

Go to the source code of this file.


Functions

FormType * merr_validate_form_ptr (FormType *formP)
const FormType * merr_validate_const_form_ptr (const FormType *formP)
FrmObjectID_t merr_validate_object_id (const FormType *formP, FrmObjectID_t objID)
FrmObjectIdx_t merr_validate_object_idx (const FormType *formP, FrmObjectIdx_t objIdx)
void * merr_validate_object_ptr (void *objP)
const void * merr_validate_const_object_ptr (const void *objP)
FieldType * merr_validate_field_ptr (FieldType *fieldP)
const FieldType * merr_validate_const_field_ptr (const FieldType *fieldP)
MemHandle merr_validate_memhandle (MemHandle memH)
const MemHandle merr_validate_const_memhandle (const MemHandle memH)

Function Documentation

const FieldType* merr_validate_const_field_ptr const FieldType *  fieldP  ) 
 

Definition at line 88 of file MoreErrorMgr.c.

00089 {
00090         _check ( fieldP );
00091         return fieldP;
00092 }

const FormType* merr_validate_const_form_ptr const FormType *  formP  ) 
 

Definition at line 51 of file MoreErrorMgr.c.

00052 {
00053         _check ( ECFrmValidatePtr( formP ) );
00054         return formP;
00055 }

const MemHandle merr_validate_const_memhandle const MemHandle  memH  ) 
 

Definition at line 100 of file MoreErrorMgr.c.

00101 {
00102         _check ( memH );
00103         return memH;
00104 }

const void* merr_validate_const_object_ptr const void *  objP  ) 
 

Definition at line 76 of file MoreErrorMgr.c.

00077 {
00078         _check ( objP );
00079         return objP;
00080 }

FieldType* merr_validate_field_ptr FieldType *  fieldP  ) 
 

Definition at line 82 of file MoreErrorMgr.c.

00083 {
00084         _check ( fieldP );
00085         return fieldP;
00086 }

FormType* merr_validate_form_ptr FormType *  formP  ) 
 

Definition at line 45 of file MoreErrorMgr.c.

00046 {
00047         _check ( ECFrmValidatePtr( formP ) );
00048         return formP;
00049 }

MemHandle merr_validate_memhandle MemHandle  memH  ) 
 

Definition at line 94 of file MoreErrorMgr.c.

00095 {
00096         _check ( memH );
00097         return memH;
00098 }

FrmObjectID_t merr_validate_object_id const FormType *  formP,
FrmObjectID_t  objID
 

Definition at line 57 of file MoreErrorMgr.c.

00058 {
00059         merr_validate_const_form_ptr( formP );
00060         return objID;
00061 }

FrmObjectIdx_t merr_validate_object_idx const FormType *  formP,
FrmObjectIdx_t  objIdx
 

Definition at line 63 of file MoreErrorMgr.c.

00064 {
00065         merr_validate_const_form_ptr( formP );
00066         _check ( objIdx != frmInvalidObjectId );
00067         return objIdx;
00068 }

void* merr_validate_object_ptr void *  objP  ) 
 

Definition at line 70 of file MoreErrorMgr.c.

00071 {
00072         _check ( objP );
00073         return objP;
00074 }

SourceForge.net Logo