src/clipsrules/core/objbin.c File Reference

#include <stdlib.h>
#include "setup.h"
#include "bload.h"
#include "bsave.h"
#include "classcom.h"
#include "classfun.h"
#include "classini.h"
#include "cstrcbin.h"
#include "cstrnbin.h"
#include "envrnmnt.h"
#include "insfun.h"
#include "memalloc.h"
#include "modulbin.h"
#include "msgcom.h"
#include "msgfun.h"
#include "prntutil.h"
#include "router.h"
#include "objbin.h"

Include dependency graph for objbin.c:

Go to the source code of this file.

Classes

struct  bsaveDefclassModule
struct  bsavePackedClassLinks
struct  bsaveDefclass
struct  bsaveSlotName
struct  bsaveSlotDescriptor
struct  bsaveMessageHandler
struct  handlerBsaveInfo

Defines

#define _OBJBIN_SOURCE_
#define SlotIndex(p)   (((p) != NULL) ? (p)->bsaveIndex : -1L)
#define SlotNameIndex(p)   (p)->bsaveIndex
#define LinkPointer(i)   (((i) == -1L) ? NULL : (DEFCLASS **) &ObjectBinaryData(theEnv)->LinkArray[i])
#define SlotPointer(i)   (((i) == -1L) ? NULL : (SLOT_DESC *) &ObjectBinaryData(theEnv)->SlotArray[i])
#define TemplateSlotPointer(i)   (((i) == -1L) ? NULL : (SLOT_DESC **) &ObjectBinaryData(theEnv)->TmpslotArray[i])
#define OrderedSlotPointer(i)   (((i) == -1L) ? NULL : (unsigned *) &ObjectBinaryData(theEnv)->MapslotArray[i])
#define SlotNamePointer(i)   ((SLOT_NAME *) &ObjectBinaryData(theEnv)->SlotNameArray[i])
#define HandlerPointer(i)   (((i) == -1L) ? NULL : (HANDLER *) &ObjectBinaryData(theEnv)->HandlerArray[i])
#define OrderedHandlerPointer(i)   (((i) == -1L) ? NULL : (unsigned *) &ObjectBinaryData(theEnv)->MaphandlerArray[i])

Typedefs

typedef struct bsaveDefclassModule BSAVE_DEFCLASS_MODULE
typedef struct
bsavePackedClassLinks 
BSAVE_PACKED_CLASS_LINKS
typedef struct bsaveDefclass BSAVE_DEFCLASS
typedef struct bsaveSlotName BSAVE_SLOT_NAME
typedef struct bsaveSlotDescriptor BSAVE_SLOT_DESC
typedef struct bsaveMessageHandler BSAVE_HANDLER
typedef struct handlerBsaveInfo HANDLER_BSAVE_INFO

Functions

globle void SetupObjectsBload (void *theEnv)
globle void * BloadDefclassModuleReference (void *theEnv, int theIndex)


Define Documentation

#define _OBJBIN_SOURCE_

Definition at line 52 of file objbin.c.

#define HandlerPointer (  )     (((i) == -1L) ? NULL : (HANDLER *) &ObjectBinaryData(theEnv)->HandlerArray[i])

Definition at line 69 of file objbin.c.

#define LinkPointer (  )     (((i) == -1L) ? NULL : (DEFCLASS **) &ObjectBinaryData(theEnv)->LinkArray[i])

Definition at line 64 of file objbin.c.

#define OrderedHandlerPointer (  )     (((i) == -1L) ? NULL : (unsigned *) &ObjectBinaryData(theEnv)->MaphandlerArray[i])

Definition at line 70 of file objbin.c.

#define OrderedSlotPointer (  )     (((i) == -1L) ? NULL : (unsigned *) &ObjectBinaryData(theEnv)->MapslotArray[i])

Definition at line 67 of file objbin.c.

#define SlotIndex (  )     (((p) != NULL) ? (p)->bsaveIndex : -1L)

Definition at line 61 of file objbin.c.

#define SlotNameIndex (  )     (p)->bsaveIndex

Definition at line 62 of file objbin.c.

#define SlotNamePointer (  )     ((SLOT_NAME *) &ObjectBinaryData(theEnv)->SlotNameArray[i])

Definition at line 68 of file objbin.c.

#define SlotPointer (  )     (((i) == -1L) ? NULL : (SLOT_DESC *) &ObjectBinaryData(theEnv)->SlotArray[i])

Definition at line 65 of file objbin.c.

#define TemplateSlotPointer (  )     (((i) == -1L) ? NULL : (SLOT_DESC **) &ObjectBinaryData(theEnv)->TmpslotArray[i])

Definition at line 66 of file objbin.c.


Typedef Documentation

typedef struct bsaveDefclass BSAVE_DEFCLASS


Function Documentation

globle void* BloadDefclassModuleReference ( void *  theEnv,
int  theIndex 
)

Definition at line 299 of file objbin.c.

globle void SetupObjectsBload ( void *  theEnv  ) 

Definition at line 205 of file objbin.c.


Generated on Mon Jan 10 22:33:42 2011 by  doxygen 1.5.6