1# Capstone Python bindings, by Nguyen Anh Quynnh <aquynh@gmail.com> 2 3import ctypes 4from . import copy_ctypes_list 5from .evm_const import * 6 7# define the API 8class CsEvm(ctypes.Structure): 9 _fields_ = ( 10 ('pop', ctypes.c_byte), 11 ('push', ctypes.c_byte), 12 ('fee', ctypes.c_uint), 13 ) 14 15def get_arch_info(a): 16 return (a.pop, a.push, a.fee) 17 18