glymur/lib/openjp2.py
def version():
    """Wrapper for opj_version library routine."""
    try:
        OPENJP2.opj_version.restype = ctypes.c_char_p
    except AttributeError:
        return "0.0.0"

    v = OPENJP2.opj_version()
    return v.decode('utf-8')
Wrapper for opj_version library routine.
Wrapper for opj_version library routine.
Wrapper for opj_version library routine .
def version():
    try:
        OPENJP2.opj_version.restype = ctypes.c_char_p
    except AttributeError:
        return "0.0.0"
    v = OPENJP2.opj_version()
    return v.decode('utf-8')
def version ( ) : try : OPENJP2 . opj_version . restype = ctypes . c_char_p except AttributeError : return "0.0.0" v = OPENJP2 . opj_version ( ) return v . decode ( 'utf-8' )
Wrapper for opj_version library routine.
Wrapper for opj_version library routine .
"""Wrapper for opj_version library routine."""