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

feat: Put all of the external functions in a single header file #64

Merged
merged 7 commits into from
Dec 3, 2024

Conversation

keyvank
Copy link
Owner

@keyvank keyvank commented Dec 2, 2024

30CC is not strong enough to parse the severely complicated C header files, but is strong enough to understand a few function declarations, so let's put all of the C functions that are used in the compiler in a single libc.h file.

@keyvank keyvank requested review from thehxdev, amiremohamadi and Glyphack and removed request for amiremohamadi and thehxdev December 2, 2024 19:44
@keyvank
Copy link
Owner Author

keyvank commented Dec 2, 2024

@thehxdev ببخشید دستم خورد شمارو هم منشن کردم ولی اگه دوست داشتی ریویو کنی شما هم زیبا میشه :دی

#include <stdio.h>
#endif

#ifdef _30CC
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice approach! 👌

@keyvank keyvank merged commit 7f43a3a into main Dec 3, 2024
1 check passed
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.

2 participants