targets/typemapping.py
changeset 1881 091005ec69c4
parent 1847 6198190bc121
child 1963 cded8d8a0485
equal deleted inserted replaced
1880:e5ddbaf756cb 1881:091005ec69c4
    20 
    20 
    21 # You should have received a copy of the GNU Lesser General Public
    21 # You should have received a copy of the GNU Lesser General Public
    22 # License along with this library; if not, write to the Free Software
    22 # License along with this library; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    24 
    24 
       
    25 
       
    26 from __future__ import absolute_import
    25 import ctypes
    27 import ctypes
    26 from ctypes import *
    28 from ctypes import *
    27 from datetime import timedelta as td
    29 from datetime import timedelta as td
    28 
    30 
    29 ctypes.pythonapi.PyString_AsString.argtypes = (ctypes.c_void_p,)
    31 ctypes.pythonapi.PyString_AsString.argtypes = (ctypes.c_void_p,)