transcribe-file not the same as select #! !# [SHIFT-ENTER] ?

"smallhairytroll" <[email protected]> Sun, 08 Jun 2003 07:45:22 -0000
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
The C to Lisp parser handles my FFI defintions just fine when 
I "Select All" and then [SHIFT-ENTER].

However (ct:transcribe-file "SDL_h.lisp" "SDL.lisp") fails on the 
same file with the following error:

;;; An error occurred in function DETERMINE-C-TYPE-SIZE:
;;; Error: No ECASE clause matching the key

It gets hung up on a HWND hwnd; even though I have (in-
package :win32) at the top of the file.

ie.

#! (:export t :library "SDL" :ignore "DECLSPEC" :pack 4 )
struct SDL_SysWMmsg {
	SDL_version version;
	HWND hwnd;
//	UINT msg;
//	WPARAM wParam;
//	LPARAM lParam;
};

(ct:transcribe-file "SDL_h.lisp" "SDL.lisp" :package 'win32) 
crunches for a while but then returns..

;;; Returning to top level loop.
;;; An error occurred in function ;;; An error occurred in 
function ;;; An error occurred in function ;;; An error occurred in 
function ;;; An error occurred in function ;;; An error occurred in 
function ;;; An error occurred in function ;;; An error occurred in 
function ;;; An error occurred in function ;;; An error occurred in 

Why would transcribe-file fail when [SHIFT-ENTER] does not ?

-Luke


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/