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

Submission: bytearray.h #292

Open
dg4l opened this issue Feb 1, 2025 · 3 comments
Open

Submission: bytearray.h #292

dg4l opened this issue Feb 1, 2025 · 3 comments

Comments

@dg4l
Copy link

dg4l commented Feb 1, 2025

https://github.com/dg4l/bytearray - Hackable library for working with binaries
GPL3
1 file

@r-lyeh
Copy link
Owner

r-lyeh commented Feb 1, 2025

hey d4gl, you cant use the header from two different compilation units, because that's not exactly how single-headers would work. ie, you will get dupe linkage errors when using the header from two different .c files. consider adding #pragma once (or include guards), also put the API in the public section of the file and the implementation in a place apart, with some implementation guard as well.

@dg4l
Copy link
Author

dg4l commented Feb 1, 2025

apologies, i'll work on fixing these issues

@dg4l
Copy link
Author

dg4l commented Feb 1, 2025

should be resolved

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

No branches or pull requests

2 participants