Tracker: Patches

5 try-it-out preliminary UFFI support - ID: 1028683
Last Update: Comment added ( sds )

Enough vapourware, here are the files.
ffi-patches and uffi.lisp

You'll see yourself that uffi.lisp is incomplete. Yet
it could use postgresql and (some) ODBC.

Please send all comments to clisp-devel *and* to me.
Maybe announce to clisp-users so they get a change to
try out this stuff?

Regards,
Jörg Höhle


Jörg Höhle ( hoehle ) - 2004-09-15 09:59:31 PDT

5

Open

None

Jörg Höhle

None

None

Public


Comments ( 7 )

Date: 2008-01-28 06:45:35 PST
Sender: sdsProject AdminAccepting Donations


what I meant was "release": patching the clisp cvs head (and uffi) so that
clisp supports uffi ootb.


Date: 2008-01-28 05:33:10 PST
Sender: hoehleProject Admin


What do you mean with trunk?
a. the ffi-patches-cvs or
b. the whole UFFI package?

b. Could cause package problems, since CFFI includes an UFFI compatibility
layer, which very likely defines an UFFI package also.


Date: 2008-01-26 21:41:31 PST
Sender: sdsProject AdminAccepting Donations


Joerg, is there any hope that you will merge this into the trunk?


Date: 2006-01-24 10:24:05 PST
Sender: hoehleProject Admin

Logged In: YES
user_id=377168

Added uffi.asd for convenience, but you must still load
ffi-patches-cvs before uffi!
However, now you could add this file to the asdf definition,
because ffi-patches-cvs can now be compiled.


Date: 2005-05-20 09:40:18 PDT
Sender: hoehleProject Admin

Logged In: YES
user_id=377168

More macros added as I tested some UFFI code (browsing along
cells-gtk, clsql etc.) :pointer-self, :struct-pointer, setf
deref-array, def-union and many others are now supported.

Still, the deref-pointer / (c-ptr xyz) / pointer arithmetic
issue is problematic.


Date: 2004-09-23 09:50:32 PDT
Sender: hoehleProject Admin

Logged In: YES
user_id=377168

the updated uffi.lisp now does compile- (well,
macroexpand)-time instead of run-time UFFI->FFI
transformations and therefore pedantly checks the types.
clsql-3.0.4 is better used with this version.


Date: 2004-09-15 10:10:58 PDT
Sender: hoehleProject Admin

Logged In: YES
user_id=377168

BTW, I think %cast1 can disappear in favour of a
foreign-variable constructor function.

Well, I should now talk less and use the few minutes left to
implement said stuff in foreign.d instead of playing with
clsql. People, please try it out! People, please try out
Pascal's UFFI layer!


Attached Files ( 3 )

Filename Description Download
uffi.asd .asd file for ease of use with systems using ASDF Download
ffi-patches-cvs.lisp now allow compilation of ffi-patches-cvs.lisp Download
uffi.lisp support cl-sdl and add some comments Download

Changes ( 16 )

Field Old Value Date By
File Deleted 163764: 2006-01-24 10:20:19 PST hoehle
File Added 164732: uffi.lisp 2006-01-24 10:20:18 PST hoehle
File Deleted 135294: 2006-01-24 10:18:29 PST hoehle
File Added 164731: ffi-patches-cvs.lisp 2006-01-24 10:18:29 PST hoehle
File Added 164730: uffi.asd 2006-01-24 10:17:22 PST hoehle
assigned_to nobody 2006-01-24 10:17:19 PST hoehle
File Deleted 135295: 2006-01-17 10:37:14 PST hoehle
File Added 163764: uffi.lisp 2006-01-17 10:37:13 PST hoehle
File Added 135295: uffi.lisp 2005-05-20 09:40:20 PDT hoehle
File Added 135294: ffi-patches-cvs.lisp 2005-05-20 09:32:55 PDT hoehle
File Deleted 102557: 2005-05-20 09:31:40 PDT hoehle
File Deleted 101605: 2005-05-20 09:31:39 PDT hoehle
File Added 102557: uffi.lisp 2004-09-23 09:47:24 PDT hoehle
File Deleted 101606: 2004-09-23 09:45:36 PDT hoehle
File Added 101606: uffi.lisp 2004-09-15 10:03:12 PDT hoehle
File Added 101605: ffi-patches-cvs.lisp 2004-09-15 10:01:24 PDT hoehle