version 1.1.1.1, 1999/10/08 02:12:02 |
version 1.3, 2005/06/16 05:07:23 |
|
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/Kclass/sample.c,v 1.2 2000/01/16 07:55:45 takayama Exp $ */ |
/* Kclass/sample.c sample new class. */ |
/* Kclass/sample.c sample new class. */ |
/* How to add a new class to sm1. |
/* How to add a new class to sm1. |
1. create a new file Kclass/newclass-name.c and change |
1. create a new file Kclass/newclass-name.c and change |
|
|
|
|
/* Data conversion function : see KclassDataConversion*/ |
/* Data conversion function : see KclassDataConversion*/ |
struct object KpoSampleClass(struct object *obp) { |
struct object KpoSampleClass(struct object *obp) { |
struct object rob; |
struct object rob = OINIT; |
struct object *newobp; |
struct object *newobp; |
rob.tag = Sclass; |
rob.tag = Sclass; |
rob.lc.ival = CLASSNAME_sampleClass; |
rob.lc.ival = CLASSNAME_sampleClass; |