示例#1
0
 def __init__(self, integer_list=None):
     self.c_ilist = ctypes.pointer(libvect.struct_ilist())
     if integer_list is not None:
         self.extend(integer_list)
示例#2
0
文件: basic.py 项目: caomw/grass
 def __init__(self, integer_list=None):
     self.c_ilist = ctypes.pointer(libvect.struct_ilist())
     if integer_list is not None:
         self.extend(integer_list)