Main Page   Modules   Compound List   File List   Compound Members   File Members  

support.c File Reference

Jaune - Ahead of time Java compiler for small systems. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "clib.h"
#include "gc.h"

Defines

#define TRACE(_a)

Functions

void exit (int val)
void _cthrow (const char *pMsg)
void _cassert (const char *pMsg, int line)
STATIC void * _tableSearch (TableEntry *pStart, TableEntry *pEnd, UINT16 uFind, UINT8 *pfFound)
void _setClass (Instance *pSelf, Class *pClass)
void * _new (Class *pClass)
void * _newArray (UINT16 uType, UINT16 uCount)
void * _invokeVirtualLookup (Instance *pSelf, UINT16 uMethId)
void * _cinvokeInterface (Instance *pSelf, UINT16 uMethId)
void _arrayStore (UINT16 uVal, INT16 iIdx, Array *pArray)
INT16 _arrayLoad (INT16 iIdx, Array *pArray)
UINT16 _arrayLength (Array *pArray)
void _putField (UINT16 uFieldId, UINT16 uVal, Instance *pSelf)
UINT16 _getField (UINT16 uFieldId, Instance *pSelf)
UINT16 _instanceOf (Class *pType, Instance *pOn)
void _checkCast (Class *pType, Instance *pOn)
void * _clookupSwitch (UINT16 uIgnore, void *pDefault, TableEntry *pStart, TableEntry *pEnd, UINT16 uFind)

Variables

const Class WordArray_class
const Class ByteArray_class
const Class ReferenceArray_class


Detailed Description

Jaune - Ahead of time Java compiler for small systems.

Author:
Copyright Michael Hope 2002 <michaelh@juju.net.nz> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
Id:
support.c,v 1.2 2002/05/07 15:41:49 michaelh Exp


Variable Documentation

const Class ByteArray_class
 

Initial value:

 
  {
    NULL,
    0,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    "bytearray",
    CLASSMAGIC
  }

const Class ReferenceArray_class
 

Initial value:

 
  {
    NULL,
    0,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    "referencearray",
    CLASSMAGIC
  }

const Class WordArray_class
 

Initial value:

 
  {
    NULL,
    0,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    "wordarray",
    CLASSMAGIC
  }


Generated on Sat May 11 15:15:41 2002 for JauneRuntimeclib by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002