def version():
OPENJPEG.opj_version.restype = ctypes.c_char_p<EOL>library_version = OPENJPEG.opj_version()<EOL>if sys.hexversion >= <NUM_LIT>:<EOL><INDENT>return library_version.decode('<STR_LIT:utf-8>')<EOL><DEDENT>else:<EOL><INDENT>return library_version<EOL><DEDENT>
Wrapper for opj_version library routine.