Xref: utzoo comp.sys.amiga:1357 comp.lang.c:5566
Path: utzoo!utgpu!water!watmath!dalcs!garfield!john13
From: john13@garfield.UUCP (John Russell)
Newsgroups: comp.sys.amiga,comp.lang.c
Subject: Re: Embedding binary data in C source (usu. images)
Message-ID: <4291@garfield.UUCP>
Date: 14 Dec 87 02:20:26 GMT
References: <4290@garfield.UUCP>
Reply-To: john13@garfield.UUCP (John Russell)
Followup-To: comp.sys.amiga
Organization: Memorial University of Newfoundland, St. John's
Lines: 16

In article <4290@garfield.UUCP> john13@garfield.UUCP (John Russell) writes:
>
>main(argc, argv)    /* short program to verify the macros work */

Oops, I should have mentioned -- I compiled with integers defaulting to
16 bits, be careful if you start printf'ing or moving numbers defined this
way that the compiler is expecting the same length value you're giving it.
You may have to cast the individual words to longs in the small example
program.

John
-- 
"Listen fathead, the ONE thing we DON'T need is some trigger-happy lunatic
 in charge... No I didn't mean you Mr. President... Yes sir, I'm sure you
 do get a lot of that sort of thing."
				-- Judge Harold T. Stone