home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d183
/
mklib.lha
/
Mklib
/
ed.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-02-26
|
454b
|
38 lines
/* this is a test library */
#include <exec/types.h>
char myname[] = "mylib.library";
char myid[] = "mylib 1.0 (23 Oct 1986)\r\n";
LONG GetDown()
{
return (77);
}
ULONG Double(arg)
ULONG arg;
{
return (2 * arg);
}
LONG Triple(arg)
LONG arg;
{
arg *= 3;
return ((LONG)arg);
}
LONG Add(apples,oranges)
LONG apples,oranges;
{
return(apples+oranges);
}
LONG Sum(a,b,c,d,e,f)
LONG a,b,c,d,e,f;
{
return(a+b+c+d+e+f);
}