version 1.6, 2006/01/30 10:38:36 |
version 1.7, 2020/10/06 11:33:46 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/kclass.c,v 1.5 2005/06/16 05:07:23 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/kclass.c,v 1.6 2006/01/30 10:38:36 takayama Exp $ */ |
/* kclass.c, 1997, 3/1 |
/* kclass.c, 1997, 3/1 |
This module handles class data base. |
This module handles class data base. |
This is a top level and provides an interface for sm1 for Sclass objects. |
This is a top level and provides an interface for sm1 for Sclass objects. |
|
|
grep the keyword CLASSNAME_sampleClass |
grep the keyword CLASSNAME_sampleClass |
*/ |
*/ |
#include <stdio.h> |
#include <stdio.h> |
|
#include <string.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "stackm.h" |
#include "stackm.h" |
#include "extern.h" |
#include "extern.h" |
Line 21 struct object * ClassDictionaries[CLASSTABLE_SIZE]; |
|
Line 22 struct object * ClassDictionaries[CLASSTABLE_SIZE]; |
|
char *ClassNames[CLASSTABLE_SIZE]; |
char *ClassNames[CLASSTABLE_SIZE]; |
int ClassTypes[CLASSTABLE_SIZE]; |
int ClassTypes[CLASSTABLE_SIZE]; |
|
|
initClassDataBase() { |
void initClassDataBase() { |
int i; |
int i; |
for (i=0; i<CLASSTABLE_SIZE; i++) { |
for (i=0; i<CLASSTABLE_SIZE; i++) { |
ClassTypes[i] = CLASS_NOT_USED; |
ClassTypes[i] = CLASS_NOT_USED; |