function definition query
sorry for the vague title..
my question is this. I am using the libxml API and I have come accross something that I need some help understanding. if a function if defined as Code:
return_type somefunction(parm1,par2...) Code:
enum the_options{ Also what would the code look like then that read OPT1|OPT2|OPT3??? Thanks in advance. |
It's interesting that int options is not declared as an enum datatype, but the enum does not have a zero value. enums default to integer.
Code:
int options=OPT1|OPT2|OPT3; |
All times are GMT -5. The time now is 10:12 AM. |