Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
CHanged version object to use bind=False, cwrap=1.4.0 adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
joakim-hove committed Feb 10, 2018
1 parent 65568d2 commit 350b347
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/python/res/util/res_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
from res.util import ResUtilPrototype

class ResVersion(Version):
_build_time = ResUtilPrototype("char* res_version_get_build_time()")
_git_commit = ResUtilPrototype("char* res_version_get_git_commit()")
_major_version = ResUtilPrototype("int res_version_get_major_version()")
_minor_version = ResUtilPrototype("int res_version_get_minor_version()")
_micro_version = ResUtilPrototype("char* res_version_get_micro_version()")
_is_devel = ResUtilPrototype("bool res_version_is_devel_version()")
_build_time = ResUtilPrototype("char* res_version_get_build_time()", bind = False)
_git_commit = ResUtilPrototype("char* res_version_get_git_commit()", bind = False)
_major_version = ResUtilPrototype("int res_version_get_major_version()", bind = False)
_minor_version = ResUtilPrototype("int res_version_get_minor_version()", bind = False)
_micro_version = ResUtilPrototype("char* res_version_get_micro_version()", bind = False)
_is_devel = ResUtilPrototype("bool res_version_is_devel_version()", bind = False)

def __init__(self):
major = self._major_version( )
Expand Down

0 comments on commit 350b347

Please sign in to comment.