[fpc-devel] h2pas patch for using the ctypes unit

J. Peter Mugaas oma00215 at mail.wvnet.edu
Wed Sep 20 17:55:00 CEST 2006


I have recently made some modifications to the h2pas utility program.  The patch is an attempt to make h2pas use types defined in the ctypes unit.  The advantage is that the headers might more portable on various architectures.  I consider this an early version because there may be some things that I'm missing and I'm not completely satisfied with it.  I still refers to pointer types with either a capital P or ^ instead of a lowercase p.

If you merge this, there is a new parameter -C which specifies that you wish to use types from the ctypes unit.  As always; flames, comments, and criticism are welcome.
-- 
Support the anti-Spam amendment - Join at http://www.cauce.org/
J. Peter Mugaas, oma00215 at mail.wvnet.edu.net on 9/20/2006
http://wvnvm.wvnet.edu/~oma00215/  ICQ Number:  14297043
Finger for PGP Key

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h2pas-ctypes.patch
Type: application/octet-stream
Size: 19089 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060920/1e7bf392/attachment.obj>


More information about the fpc-devel mailing list