Skip to content

Conversation

@danghvu
Copy link
Collaborator

@danghvu danghvu commented Dec 1, 2013

This script will create a new file [arch]_const.[java|py] for each arch (e.g. Arm_const.java) inside the binding package.

Usage: python const_generator.py java

This change helps the productivity when there are some updates to constants inside the core API. The binding Makefile is also modified to execute this script when doing a make.

Currently the script support Java and Python, these binding have been updated to reflect this change huge amount of code is removed (6,227 deletions). (Since consts are now auto-generated, I decided not to add it to the repository)

Other binding can do the same by adding its template to the script (if applicable).

@aquynh aquynh merged commit c698fb6 into capstone-engine:master Dec 2, 2013
sephiroth99 pushed a commit to sephiroth99/capstone that referenced this pull request Sep 22, 2015
tmfink added a commit to tmfink/capstone that referenced this pull request Sep 8, 2021
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