dand-oss
|
51611517de
|
Change static string in header file to extern
- static will unnecessarily create and intialize a string in the data segment of each compiled cpp that includes it
|
2012-09-21 21:16:58 -05:00 |
|
dand-oss
|
0ee70e1a92
|
pycap_new() template replaces a bunch of macro code
|
2012-09-21 09:22:03 -05:00 |
|
Siu Kwan Lam
|
9767ac4d47
|
Improve error-handling for PyCapsule_GetPointer and related functions.
|
2012-09-15 19:10:05 -07:00 |
|
Siu Kwan Lam
|
0079b1de07
|
Cleanup all memory allocations and their exception handling
|
2012-09-15 18:34:15 -07:00 |
|
Siu Kwan Lam
|
d77c3a61e1
|
Better error handling for PyCapsule_GetPointer
|
2012-09-14 19:28:21 -07:00 |
|
Siu Kwan Lam
|
56796cad61
|
Follow up on pull request 21. Since PyCapsule_GetPointer returns NULL on error, we should check if the list element is Py_None.
|
2012-09-14 18:42:49 -07:00 |
|
Siu Kwan Lam
|
5ee6bba66b
|
Fix invalid prototype after switches to size_t instead of unsigned int.
|
2012-09-10 17:22:20 -07:00 |
|
dand-oss
|
db00a6b8de
|
C++ cleanup of old C conventions - prefer C++ casting to unsafe C style casts - use templates to encapsulate casting - prefer new to malloc - apply const when possible - decalare variables as near to use as possible
|
2012-09-10 16:52:50 -07:00 |
|
Wladimir J. van der Laan
|
3b22d5accf
|
Add wrapping constructor for (signed) long long
Completely analogous to how unsigned long long is handled
|
2012-09-09 12:04:27 +02:00 |
|
Siu Kwan Lam
|
ec71908874
|
Add target machine
|
2012-08-14 12:04:28 -07:00 |
|
Siu Kwan Lam
|
9aadd489c3
|
Python3 ready. Py2.7 and Py3 working. Drop PyCObject for all.
Pre Py2.7 support should be possible by including "capsulethunk.h". (See llvm/wrap.h)
|
2012-07-26 15:25:23 -07:00 |
|
Siu Kwan Lam
|
afcdd30c88
|
Stick with C++ for everything.
|
2012-07-25 18:32:21 -07:00 |
|