Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Break apart generated C source and header files. #9

Open
sw17ch opened this issue Dec 30, 2012 · 2 comments
Open

Break apart generated C source and header files. #9

sw17ch opened this issue Dec 30, 2012 · 2 comments
Milestone

Comments

@sw17ch
Copy link
Owner

sw17ch commented Dec 30, 2012

There's going to be a LOT of meta information around types at some point. It would probably be very wise to organize them into their own header files and have the top level header include all of them.

@sw17ch
Copy link
Owner Author

sw17ch commented Mar 13, 2013

This can be done, but each header file will have to pull in headers for types upon which the type depends.

@sw17ch
Copy link
Owner Author

sw17ch commented Aug 7, 2013

Changing my perspective on this a bit. I propose three different sub-header files:

  • _types.h
  • _packers.h
  • _unpackers.h

I'd also suggest breaking the C files into two separate files:

  • _packers.c
  • _unpackers.c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant