Repository navigation
luaengine: add API versioning - #70
Merged
Merged
Conversation
This commits add a new global constant containing only the version number, without build date. This is useful for tools built around MAME, which would use it to track capability changes for compatibility layers. Signed-off-by: Luca Bruno <lucab@debian.org>
This commit adds two methods to LUA interface, allowing scripts to programatically retrieve current running application name and version. The idea is to make scripts aware of changes in the API, by linking it to current version number. Compatibility helpers can then be added to LUA scripts to keep working across API changes. Signed-off-by: Luca Bruno <lucab@debian.org>
rb6502
added a commit
that referenced
this pull request
Dec 10, 2014
luaengine: add API versioning [Luca Bruno]
Zoltan45
pushed a commit
to Zoltan45/mame-mkp
that referenced
this pull request
Jun 28, 2021
implement hooks for cheat/rumble system and also hooks for save state/rewind
drblythe
added a commit
to drblythe/mame-sgi
that referenced
this pull request
Oct 24, 2026
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
These commits add two methods to LUA interface, allowing scripts to
programatically retrieve current running application name and version.
The idea is to make scripts aware of changes in the API, by
linking it to current version number. Compatibility helpers can then
be added to LUA scripts to keep them working across API changes.
Signed-off-by: Luca Bruno lucab@debian.org