Changeset 780 for trunk/py3c.h


Ignore:
Timestamp:
Jan 23, 2016, 8:34:22 AM (3 years ago)
Author:
cito
Message:

Refactoring of the decoding of columns

Add a helper function cast_value() and use that to cast
values to Python objects in both getresult() and dictresult().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/py3c.h

    r711 r780  
    106106#define _PyBytes_Resize _PyString_Resize
    107107
     108/* Floats */
     109
     110#define PyFloat_FromString(str) PyFloat_FromString(str, NULL)
     111
    108112/* Module init */
    109113
Note: See TracChangeset for help on using the changeset viewer.