Skip to content

Commit

Permalink
bump API & package version to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Aug 13, 2014
1 parent b1a2d01 commit fd0f798
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions bindings/java/capstone/Capstone.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ public NativeLong cs_disasm_ex(NativeLong handle, byte[] code, NativeLong code_l
}

// 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;
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/capstone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
# 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
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from distutils.core import setup

VERSION = '2.2'
VERSION = '3.0'

# clean package directory first
#import os.path, shutil, sys
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/setup_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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']

Expand Down
4 changes: 2 additions & 2 deletions include/capstone.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pkgconfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 =

0 comments on commit fd0f798

Please sign in to comment.