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

luaengine: add API versioning #70

Merged
merged 2 commits into from Dec 10, 2014
Merged

Conversation

@lucab
Copy link
Contributor

@lucab lucab commented Dec 8, 2014

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 Dec 6, 2014
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:lucab/mame-lua/appinfo branch Jan 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants