Is there any workaround for making a structure member somehow 'private' in C ?

Posted by nomemory on Stack Overflow See other posts from Stack Overflow or by nomemory
Published on 2010-03-26T10:19:10Z Indexed on 2010/03/26 10:23 UTC
Read the original article Hit count: 236

Filed under:

I am developing a simple library in C, for my own + some friends personal use.

I am currently having a C structure with some members that should be somehow hidden from the rest of the application, as their use is only internal. Modifying by accident one of this members will probably make the library 'go wild'.

Is there any 'workaround' to hide those members so that they can't be accessible ?

© Stack Overflow or respective owner

Related posts about c