Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract parser #24

Merged
merged 3 commits into from Jan 13, 2017
Merged

Extract parser #24

merged 3 commits into from Jan 13, 2017

Conversation

tsee
Copy link
Contributor

@tsee tsee commented Jan 13, 2017

No description provided.

This change required introducing some other files:

- The generic cb_utils.h/.c for stuff that's genuinely used from many
  places and doesn't really fit anywhere (hope this stays small...).
- cb_c_blocks_data.h for the c_blocks_data definition. This is an
  artifact of c_blocks_data being a bit of a god object. Ideally, we
  could get rid of this one.
In a nutshell: "Public" functions are cb_ prefixed. Private ones are
made static. Due to the size of this .c file and the number of private
functions, make sure to declare all functions at the top to avoid any
sort of function order dependencies that add cognitive overhead when
coding.
@run4flat
Copy link
Owner

v5.14 doesn't have pad_findmy_pv. It's a preprocessor hack. I can fix that after the merge.

@run4flat run4flat merged commit 1da4335 into run4flat:master Jan 13, 2017
@run4flat
Copy link
Owner

Took me a few attempts, but I got it, finally. :-)

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

Successfully merging this pull request may close these issues.

None yet

2 participants