home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
581b.lha
/
skeleton
/
readme
< prev
next >
Wrap
Text File
|
1991-10-26
|
2KB
|
46 lines
This archive and all files included (except classglue.o) are herby placed
in the Public Domain.
Yes I said public domain, modify them, sell them, do whatever you want with
them.
files in this archive:
skeleton/
dispatch.c - source to the class dispatcher.
public.c - source to the public class funtions.
private.c - source to the private class functions.
skeleton_internal.h - header internal to the class.
classglue.h - header for glue functions. ( DoMethod() etc..)
skeleton.h - public header for skeleton class.
testclass.c - source to the test program.
testclass - the test program.
lmkfile - the make file to create class object and test program.
skeleton.doc - documentation for skeleton class.
classglue.o - glue routines. ( DoMethod() etc.. )
This is a skeleton class I whipped up, serves as a decent example of
how to implement a private (almost public) class, with SAS/C.
...and serves as a good skeleton for creation of new classes :^).
the only thing Sas/C specific is the dispatcher routine. I used
the __asm to avoid the use of assembler stubs.
Thanks goes to Jim Mackraz for his examples of BOOPSI programming, also for
his assembler stub routines. The asm source to these routines can be found
on the disk included with the Amiga World Tech Journal Issue #3. I had to
slightly modify the routines (syntax only) to help my assembler along.
Chris...
Christian E. Hopps
bix: chopps
Usenet: uunet!mailrus!wsu-cs!ro-chp!chopps ||
cs.wayne.edu!ro-chp!chopps