Got basic ffi_call working (properly this time [I think ])
authordoubi <doubi@doubuntu.(none)>
Tue, 8 Jun 2010 03:24:59 +0000 (04:24 +0100)
committerdoubi <doubi@doubuntu.(none)>
Tue, 8 Jun 2010 03:24:59 +0000 (04:24 +0100)
commit093c76bf41fcff600fcf06cd54d58299dde162e8
treeb90294ae7a57400d8fbaf8cdfeea273d8c093d0a
parent715fcc977ed67b4b55933d680a779bdbbca8e0d1
Got basic ffi_call working (properly this time [I think ])

Made did Newxc(result, 1, <type>, <type>) based on the func sig,
to make *result actually assignable-to; before it was just a
pointer to ffi_type, silly.

Moved main ffi headers one dir up from /include/win32, being
common across platforms as they are. Might have to think later
about making sure gcc will find headers for more recent locally
installed versions first.

Also spent some time tidying up the manifest and suchlike. We
have an ignore.txt, .gitignore and a MANIFEST.SKIP - seems
a little redundant.
Committer: doubi <doubi@doubuntu.(none)>
modified:   Ctypes.xs
new file:   MANIFEST.SKIP
renamed:    include/win32/ffi.h -> include/ffi.h
renamed:    include/win32/ffi_common.h -> include/ffi_common.h
renamed:    include/win32/ffitarget.h -> include/ffitarget.h
15 files changed:
.gitignore [new file with mode: 0755]
Ctypes.xs
MANIFEST
MANIFEST.SKIP [new file with mode: 0755]
Makefile.PL
ignore.txt [new file with mode: 0755]
include/const-c.inc [deleted file]
include/ffi.h [new file with mode: 0755]
include/ffi_common.h [new file with mode: 0755]
include/ffitarget.h [new file with mode: 0755]
include/win32/ffi.h [deleted file]
include/win32/ffi_common.h [deleted file]
include/win32/ffitarget.h [deleted file]
t/000-load.t
t/001-math.t