runtime/typemapping.py
branchsvghmi
changeset 3260 6bd918732047
parent 3257 095c73591b7e
child 3395 93ad018fb602
equal deleted inserted replaced
3259:76da573569a6 3260:6bd918732047
    90             value = unpack_func(cast(cursor,
    90             value = unpack_func(cast(cursor,
    91                                      POINTER(c_type)).contents)
    91                                      POINTER(c_type)).contents)
    92             buffoffset += sizeof(c_type) if iectype != "STRING" else len(value)+1
    92             buffoffset += sizeof(c_type) if iectype != "STRING" else len(value)+1
    93             res.append(value)
    93             res.append(value)
    94         else:
    94         else:
    95             break
    95             return None
    96     if buffoffset and buffoffset == buffsize:
    96     if buffoffset and buffoffset == buffsize:
    97         return res
    97         return res
    98     return None
    98     return None