Re: Evaluating types in function definitions

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Tue, 2 Apr 2002 14:52:21 -0700 (MST)
Newsgroups gmane.lisp.uffi.devel
Message-ID <[email protected]>
Kevin,

> Yes, I think you are right. Let me try def-foreign-type again. I 
> tried using it in MCL, but what I need to do there is a bit more 
> complicated. I found some internal function to do a typedef 
> operation, but it generates an error if you don't provide some kind 
> of MAKE-LOAD-FORM. In the example I'm talking about, what you propose 
> would work because I don't need to do anything if using MCL. But I 
> still need to resolve the def-foreign-type issue to have complete 
> support for UFFI.

Okay, let me know if I can help in any way.

> BTW, everything seems to be going pretty well. I have the Valentina 
> API with about 140 foreign functions and everything seems to work 
> fine between MCL and LispWorks. After I resolve def-foreign-type and 
> do the implementation for structs, the MCL version should be read to 
> go.

Terrific! Are you using the mcl directory and putting your functions in 
there? If so, is the .system loading working for you?

Have you looked at CLSQL? If you like, we can work on adding your 
Valentina API to the interfaces and integrate your backend with CLSQL's 
front-end.

Currently, I'm working on organizing CLSQL to work as a backend for 
UncommonSQL. So, with your work, I suspect you'll soon be able to run
UncommonSQL using Valentina with MCL!

-- 
Kevin Rosenberg
kevin-HJRc7zDS/[email protected]