<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/ctypes/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/ctypes/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 06 Nov 2013 23:16:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ctypes/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Adding 128-bit integer support</title><link>https://sourceforge.net/p/ctypes/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Can the 128-bit integer type be added to ctypes please? This seems like a big gap, given the popularity of this type within C/C++ compilers now.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fil Mackay</dc:creator><pubDate>Wed, 06 Nov 2013 23:16:45 -0000</pubDate><guid>https://sourceforge.netb24bc29ac572d551079f06b9bf384ede58a3fb5c</guid></item><item><title>test</title><link>https://sourceforge.net/p/ctypes/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;test&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Amir Gh</dc:creator><pubDate>Sat, 25 Sep 2010 04:52:52 -0000</pubDate><guid>https://sourceforge.neta76349d6ccc729fa4ad818f7f4219692aac55940</guid></item><item><title>Creating a restype supporting type</title><link>https://sourceforge.net/p/ctypes/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Adding support for classes to be sent as an argument using the argtypes attribute and from_param(...) method seems pretty straight forward. Can a similar extension be done to support the restype attribute, or will the errcheck attribute be needed to do this conversion on the result?&lt;/p&gt;
&lt;p&gt;More specifically I'd like to convert from ctypes arrays to NumPy arrays on the fly when calling a DLL function.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jens&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens Rantil</dc:creator><pubDate>Thu, 26 Mar 2009 15:14:05 -0000</pubDate><guid>https://sourceforge.net459be03ddd67592ad765e628793a8e682d707465</guid></item><item><title>Add automatic variable generation to xml2py.py</title><link>https://sourceforge.net/p/ctypes/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;xml2py.py doesn't seem to generate code for uninitialized variables. Since it may be crucial for library interface (see errno.h), I attach the crude patch that does that.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michal J. Gajda</dc:creator><pubDate>Wed, 28 Feb 2007 11:38:10 -0000</pubDate><guid>https://sourceforge.net67a1e7871dc127bb5b6602aa85c9e66ae2260fe0</guid></item><item><title>Add version info to DLL</title><link>https://sourceforge.net/p/ctypes/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It appears that an MSI-based upgrade that include&lt;br /&gt;
_ctypes.pyd did not upgrade the file from 996 to 999. &lt;br /&gt;
I assume it is because there was no version information&lt;br /&gt;
in the DLL.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;This would be a big help.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Kleehammer</dc:creator><pubDate>Mon, 24 Jul 2006 15:22:29 -0000</pubDate><guid>https://sourceforge.net464fba1e57f3e90baa1a0ac19f7e3c582dd6093c</guid></item><item><title>Byte ordering</title><link>https://sourceforge.net/p/ctypes/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I need to access data structures which are in&lt;br /&gt;
big-endian format. I would like to be able to declare&lt;br /&gt;
and use Structures which manage this automaticaly. A&lt;br /&gt;
keyword could say the structure contains big-endian&lt;br /&gt;
data. When accessing this structure fields, byte&lt;br /&gt;
ordering would be done automaticaly.&lt;/p&gt;
&lt;p&gt;Nicolas Pinault&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nicolas pinault</dc:creator><pubDate>Fri, 04 Nov 2005 15:00:07 -0000</pubDate><guid>https://sourceforge.net682e2e862449d8ba9c31283ddcd3faa6f3242eca</guid></item><item><title>SAFEARRAY</title><link>https://sourceforge.net/p/ctypes/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I need for implementation of SAFEARRAY type.&lt;br /&gt;
In fact there are a lot of methods that use this type.&lt;/p&gt;
&lt;p&gt;The problem is the following:&lt;/p&gt;
&lt;p&gt;I use the readtlb.py tool for translate a Type Libary into &lt;br /&gt;
a python file; the result is a file in which the COM types &lt;br /&gt;
are translated according to the ctypes rules. However &lt;br /&gt;
the SAFEARRAY type is not recognized by the python &lt;br /&gt;
interpreter and I can't instantiate the class(es). Looking &lt;br /&gt;
in depth in to the ctypes module there is no evidence of &lt;br /&gt;
the SAFEARRAY Implementation.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Luca Casagrande</dc:creator><pubDate>Fri, 26 Nov 2004 09:46:17 -0000</pubDate><guid>https://sourceforge.neta860493f07fab82c329153ebe0d3072274d9376f</guid></item><item><title>add support for accessing functions via pointer</title><link>https://sourceforge.net/p/ctypes/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a requirement to be able to call functions that&lt;br /&gt;
I can only get to via pointer.  ctypes itself does not&lt;br /&gt;
appear to support this, but _ctypes does.  I ended up&lt;br /&gt;
doing something like below, which appears to work fine.&lt;br /&gt;
I'd like to see first class support for this in ctypes&lt;br /&gt;
itself.  Would also need to support the Windows variant&lt;br /&gt;
as well (but probably not the Python one).&lt;/p&gt;
&lt;p&gt;import ctypes&lt;br /&gt;
import _ctypes&lt;/p&gt;
&lt;p&gt;#--------------------------------------------------------------------&lt;br /&gt;
#&lt;br /&gt;
#--------------------------------------------------------------------&lt;br /&gt;
class FunctionPtr(_ctypes.CFuncPtr):&lt;br /&gt;
_flags_   = _ctypes.FUNCFLAG_CDECL&lt;br /&gt;
_restype_ = ctypes.c_int &lt;/p&gt;
&lt;p&gt;#--------------------------------------------------------------------&lt;br /&gt;
#&lt;br /&gt;
#--------------------------------------------------------------------&lt;br /&gt;
functionPtr = 0  # get a pointer to the function somehow&lt;/p&gt;
&lt;p&gt;function = FunctionPtr(functionPtr)&lt;/p&gt;
&lt;p&gt;result = function(arg1,arg2)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick Mueller</dc:creator><pubDate>Thu, 30 Sep 2004 13:14:06 -0000</pubDate><guid>https://sourceforge.net8a45aff6df9b37feb1d2cdba4bf0608e52fef582</guid></item></channel></rss>