hyvmls.h File Reference


Detailed Description

VM Local Storage Header.


Classes

struct  HyVMLSFunctionTable
 The VM local storage function table. More...

Defines

#define HY_VMLS_H
#define HY_VMLS_MAX_KEYS   256
#define HY_VMLS_FNTBL(env)   ((HyVMLSFunctionTable *) ((((void ***) (env))[offsetof(HyVMThread,javaVM)/sizeof(UDATA)])[offsetof(HyJavaVM,vmLocalStorageFunctions)/sizeof(UDATA)]))
#define HY_VMLS_GET(env, key)   (HY_VMLS_FNTBL(env)->HyVMLSGet(env, (key)))
#define HY_VMLS_SET(env, key, value)   (HY_VMLS_FNTBL(env)->HyVMLSSet(env, &(key), (void *) (value)))


Define Documentation

#define HY_VMLS_H

#define HY_VMLS_MAX_KEYS   256

#define HY_VMLS_FNTBL ( env   )     ((HyVMLSFunctionTable *) ((((void ***) (env))[offsetof(HyVMThread,javaVM)/sizeof(UDATA)])[offsetof(HyJavaVM,vmLocalStorageFunctions)/sizeof(UDATA)]))

#define HY_VMLS_GET ( env,
key   )     (HY_VMLS_FNTBL(env)->HyVMLSGet(env, (key)))

#define HY_VMLS_SET ( env,
key,
value   )     (HY_VMLS_FNTBL(env)->HyVMLSSet(env, &(key), (void *) (value)))


Genereated on Tue Mar 11 19:26:07 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.