From fd0f798343aecc97ca6e0563711b15c83474c1a0 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 13 Aug 2014 14:15:27 +0800 Subject: [PATCH] bump API & package version to 3.0 --- bindings/java/capstone/Capstone.java | 4 ++-- bindings/python/capstone/__init__.py | 4 ++-- bindings/python/setup.py | 2 +- bindings/python/setup_cython.py | 2 +- include/capstone.h | 4 ++-- pkgconfig.mk | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bindings/java/capstone/Capstone.java b/bindings/java/capstone/Capstone.java index 19512054a..2c42bb708 100644 --- a/bindings/java/capstone/Capstone.java +++ b/bindings/java/capstone/Capstone.java @@ -262,8 +262,8 @@ public class Capstone { } // Capstone API version - public static final int CS_API_MAJOR = 2; - public static final int CS_API_MINOR = 2; + public static final int CS_API_MAJOR = 3; + public static final int CS_API_MINOR = 0; // architectures public static final int CS_ARCH_ARM = 0; diff --git a/bindings/python/capstone/__init__.py b/bindings/python/capstone/__init__.py index 8f54c5c32..dd43a5682 100644 --- a/bindings/python/capstone/__init__.py +++ b/bindings/python/capstone/__init__.py @@ -74,8 +74,8 @@ __all__ = [ # Capstone C interface # API version -CS_API_MAJOR = 2 -CS_API_MINOR = 2 +CS_API_MAJOR = 3 +CS_API_MINOR = 0 # architectures CS_ARCH_ARM = 0 diff --git a/bindings/python/setup.py b/bindings/python/setup.py index fbf7ce5af..f41c41337 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup -VERSION = '2.2' +VERSION = '3.0' # clean package directory first #import os.path, shutil, sys diff --git a/bindings/python/setup_cython.py b/bindings/python/setup_cython.py index 1dea2f53a..204d32dd7 100644 --- a/bindings/python/setup_cython.py +++ b/bindings/python/setup_cython.py @@ -3,7 +3,7 @@ from distutils.extension import Extension from distutils.command.install_lib import install_lib as _install from Cython.Distutils import build_ext -VERSION = '2.2' +VERSION = '3.0' compile_args = ['-O3', '-fomit-frame-pointer'] diff --git a/include/capstone.h b/include/capstone.h index 6c45360cb..801a4640a 100644 --- a/include/capstone.h +++ b/include/capstone.h @@ -28,8 +28,8 @@ extern "C" { #endif // Capstone API version -#define CS_API_MAJOR 2 -#define CS_API_MINOR 2 +#define CS_API_MAJOR 3 +#define CS_API_MINOR 0 // Macro to create combined version which can be compared to // result of cs_version() API. diff --git a/pkgconfig.mk b/pkgconfig.mk index c29523081..26876f116 100644 --- a/pkgconfig.mk +++ b/pkgconfig.mk @@ -2,8 +2,8 @@ # To be used to generate capstone.pc for pkg-config # version major & minor -PKG_MAJOR = 2 -PKG_MINOR = 2 +PKG_MAJOR = 3 +PKG_MINOR = 0 # version bugfix level. Example: PKG_EXTRA = 1 PKG_EXTRA =