-
Notifications
You must be signed in to change notification settings - Fork 532
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
Added support for a C API. #152
Open
eaplatanios
wants to merge
33
commits into
openai:master
Choose a base branch
from
eaplatanios:c-api
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+785
−5
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
578447f
Started working on a C API.
eaplatanios da13cf8
Added support for search structs to the C API.
eaplatanios beff4ca
Added support for some missing GameData functions to the C API.
eaplatanios 132e1aa
Added support for memory view structs to the C API.
eaplatanios 3f858d2
Added most of the missing functionality to the C API.
eaplatanios feb9509
Switched to using spaces for indentation.
eaplatanios d0881e9
Added support for some more of the missing functions to the C API.
eaplatanios fb4e05d
Added support for one more of the missing functions to the C API.
eaplatanios e45dea1
Added the last missing functions to the C API.
eaplatanios c994fb4
Made some fixes.
eaplatanios 485cbe6
Avoided copies.
eaplatanios 4510dc9
Exported the C API symbols.
eaplatanios 5ade211
Changed exception handling in the C API (more principled approaching …
eaplatanios a1d2e73
Minor edits.
eaplatanios b9642fe
Minor edits.
eaplatanios 3c12301
Minor edit.
eaplatanios 82250d6
Another small update.
eaplatanios be16d35
Reproducible bug.
eaplatanios 2b0413e
Made some memory bug fixes.
eaplatanios ab5a272
Fixed another memory issue.
eaplatanios c8a1b5f
Fixed yet another memory issue.
eaplatanios 592ef22
Fixed yet another memory issue.
eaplatanios 91512db
Fixed some more memory errors.
eaplatanios 672e244
Fixed Linux compilation error.
eaplatanios 8fd553b
Minor edit.
eaplatanios 9f9b7d4
Some more minor edits.
eaplatanios d2b063f
Switched to using 'strdup'.
eaplatanios a3a075f
Made the 'add_definitions' shared across BUILD_PYTHON and BUILD_C.
eaplatanios 706c238
Addressed some of @endrift's comments.
eaplatanios 845a0ac
Addressed the remaining of @endrift's comments.
eaplatanios 0a96f8c
Added support for deleting the obtained emulator screen.
eaplatanios 92316e0
Added some more missing 'delete' functions.
eaplatanios d3f5b14
Added support for installing the retro C API using pkgconfig.
eaplatanios File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'd strongly recommend using
configure_file
and a .in file instead of doing this inline.