-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamic load libraries for external functions #28
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
base: develop
Are you sure you want to change the base?
Conversation
4bde6ee
to
cbb8fa2
Compare
2a44623
to
d4a5c83
Compare
cc77d7e
to
297e9d5
Compare
297e9d5
to
039485d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some first review comments.
The commit structure and message needs some work, it would be great if you describe more of each commit with a body, some of the time a single line doesn't do the trick.
1057782
to
f5f95c1
Compare
My commits were quite messy, now it should be much more concise. But I'm not happy with library_api.h in the last commit, any suggestions? |
f5f95c1
to
d19c9ec
Compare
I don't see a problem with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About the commit messages, much better, just one nitpick, capitalize the subject lines, and also you forgot to capitalize the body of the first commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, documentation stuff.
Add an entry to the list of subprojects on the ./README.md
and also create a separate README.md
for stdlib.
Also, we need a way to document the API used for creating an external lib. Maybe create a file on the docs folder showing how to do it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, let's start using the semantic versioning, bump vinumc version to 0.1.0.
1bacd6c
to
e6e6d10
Compare
e310bff
to
eb68460
Compare
a4f59c8
to
d736c85
Compare
028b4d6
to
153b2fe
Compare
Add vinumc/extern_library.c and vinumc/extern_library.h which provide structures and functions for loading external libraries using dlfcn.
Gives the compiler the ability to load and execute external functions.
This adds FLAG_MULTI_ARGUMENT to allow specifying arguments repeatedly.
Add the flag "--with" allowing the user to specify a extern library.
This library is used for the unit tests.
153b2fe
to
d9e86e1
Compare
No description provided.