[BACK]Return to sample.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan / Kclass

Diff for /OpenXM/src/kan96xx/Kan/Kclass/sample.c between version 1.1.1.1 and 1.3

version 1.1.1.1, 1999/10/08 02:12:02 version 1.3, 2005/06/16 05:07:23
Line 1 
Line 1 
   /* $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
Line 19 
Line 20 
   
 /* 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;

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>