-
Notifications
You must be signed in to change notification settings - Fork 73
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
FreePascal language support #377
base: master
Are you sure you want to change the base?
Conversation
Hi @laheller, I have started looking at this PR. Thank you for volunteering to add support for Pascal. I mostly like your changes but there are a few things that need to be different:
I would be happy to take your PR and make these changes myself, but I wanted to write to you first to make sure I'm not misunderstanding you. What do you think? |
Hi @cosinekitty OK, I understand your points. Since I mostly focused only on the Pascal side to make it work on Windows (I had no time to test on Linux) I did not even think about the things you mentioned. So my proposals to your points:
That's not true. Even The other platforms, like Linux are not affected because of the condition Anyway, feel free to change as you like. At the end it's your repo & your astronomy engine :-)
BR, Ladislav |
@cosinekitty |
As the title says. To make it happen at least on Windows (not tested on other platforms) I had to slightly modify the
astronomy.h
header in Astronomy Engine C/C++ library. This way the Pascal wrapper can "see" and call all the C functions that the C library binaryAstronomy.dll
exports. Relevant READMEs included everywhere.