Ignore:
Timestamp:
03/09/12 00:13:35 (2 years ago)
Author:
Janez Demšar <janez.demsar@…>
Branch:
default
Message:

Added patches for 64-bit build by cgohlke (closes #1114)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/include/pywrapper.hpp

    r6531 r10478  
    5959    : pyobject(PyInt_FromLong(f)) 
    6060    {} 
     61 
     62#ifdef _WIN64  
     63   PyWrapper(const size_t &f)  
     64   : pyobject(PyInt_FromSize_t(f))  
     65   {}  
     66 
     67   PyWrapper(const ssize_t &f)  
     68    : pyobject(PyInt_FromSsize_t(f))  
     69   {}  
     70#endif  
    6171 
    6272  operator PyObject *() const 
Note: See TracChangeset for help on using the changeset viewer.