Skip to content

luaengine: add API versioning - #70

Merged
rb6502 merged 2 commits into
mamedev:masterfrom
lucab:lucab/mame-lua/appinfo
Dec 10, 2014
Merged

rb6502 merged 2 commits into
mamedev:masterfrom
lucab:lucab/mame-lua/appinfo

Conversation

@lucab

@lucab lucab commented Dec 8, 2014

Copy link
Copy Markdown
Contributor

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

lucab added 2 commits December 8, 2014 12:05
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]
@rb6502
rb6502 merged commit 1005424 into mamedev:master Dec 10, 2014
@lucab
lucab deleted the lucab/mame-lua/appinfo branch January 6, 2015 11:08
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>
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