Bitfields and sprintbit()

From: Pink Floyd (floyd@south.mit.edu)
Date: 12/07/95


This is to the person who said that they imp'd a working bitfield system,
or anyone else who wishes to respond.  ;-)
How have you dealt with the sprintbit() function in a bitfield system?
At first thought, it seems that you would need an 'if' statement for
each field, which could lead to an unwieldy sprintbit() function...
As far as I can tell, there is no way to access the members of the structure 
except by name.  

Anyone have any ideas?

Pink



This archive was generated by hypermail 2b30 : 12/07/00 PST