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.

Classes

struct  JMCInterfaceID

Defines

#define JMC_PUBLIC_API   JRI_PUBLIC_API
#define EXTERN_C
#define EXTERN_C_WITHOUT_EXTERN
#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)

Typedefs

typedef struct JMCInterfaceID JMCInterfaceID
typedef struct JMCException

Functions

 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,
  exceptionToReturn 
)
Value:
(((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