Not really sure... I don't use ASM headers, so I can't really compare them, but I think the little program you wrote will work (most of TIGCC's libs work like that)
----- Original Message -----
From: Josh 'Gage'
Sent: Friday, December 15, 2000 10:13 PM
To: assembly-89@lists.ticalc.org
Subject: A89: Re: Re: C Libraries
I thought ASM headers were incompatible with C headers??? You mean in example program foo:
#include "bar.h" // ASM file
void _main( void )
{
// Extra info
}
bar.h:
bar::barfunc1 equ xxx??
just put #include "filename" at the top of the main program, where filename is the name of your headerfile
----- Original Message -----
From: Josh 'Gage'
Sent: Friday, December 15, 2000 6:09 AM
To: A-89 Mailing List
Subject: A89: C Libraries
Hello
How can I make Libraries(xlib)work with program (x)?
I know it has to do with making a header file so the program knows what it's
looking for, etc. but I'm not sure how to do it in C(I know how to in ASM)
Gage