Andi McLean <andi.mcl...@ntlworld.com> wrote: Hi,
> Personally I don't like using macros as they are not type safe, and can > cause problems when porting to other languages. Fair point. > If you want to save memory (4 bytes :) ) then use > typedef SANE_Status > { > short code; > short backend-code; > } SANE_Status; > which is still 32 bits long. Looks like I'm definitely going for something too complicated. JB. -- Julien BLACHE <http://www.jblache.org> <j...@jblache.org>