Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
jmc.h File Reference
#include "jritypes.h"

Go to the source code of this file.


struct  JMCInterfaceID


#define EXTERN_C
#define JMC_EXCEPTION(resultPtr, exceptionToReturn)
#define JMC_EXCEPTION_RETURNED(resultPtr)   ((resultPtr) != NULL && *(resultPtr) != NULL)
#define JMCEXCEPTION_OUT_OF_MEMORY   ((struct JMCException*)-1)
#define JMC_DELETE_EXCEPTION(resultPtr)   (JMCException_Destroy(*(resultPtr)), *(resultPtr) = NULL)


typedef struct JMCInterfaceID JMCInterfaceID
typedef struct JMCException


 JMCException_Destroy (struct JMCException *)

Class Documentation

struct JMCInterfaceID

Definition at line 48 of file jmc.h.

Class Members
jint a
jint b
jint c
jint d

Define Documentation

Definition at line 57 of file jmc.h.

Definition at line 58 of file jmc.h.

#define JMC_DELETE_EXCEPTION (   resultPtr)    (JMCException_Destroy(*(resultPtr)), *(resultPtr) = NULL)

Definition at line 76 of file jmc.h.

#define JMC_EXCEPTION (   resultPtr,
(((resultPtr) != NULL)                                   \
        ? ((*(resultPtr) = (exceptionToReturn), resultPtr))     \
        : (JMCException_Destroy(exceptionToReturn), resultPtr))

Definition at line 66 of file jmc.h.

#define JMC_EXCEPTION_RETURNED (   resultPtr)    ((resultPtr) != NULL && *(resultPtr) != NULL)

Definition at line 71 of file jmc.h.

Definition at line 46 of file jmc.h.

Definition at line 74 of file jmc.h.

Typedef Documentation

typedef struct JMCException

Definition at line 61 of file jmc.h.

Function Documentation