;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: libraries.cl,v 1.5 2002/03/21 04:05:15 kevin Exp $
+;;;; $Id: libraries.cl,v 1.6 2002/03/31 23:45:34 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defvar *loaded-libraries* nil
"List of foreign libraries loaded. Used to prevent reloading a library")
+(defun default-foreign-library-type ()
+ "Returns string naming default library type for platform"
+ #+(or win32 mswindows) "dll"
+ #+freebsd "a"
+ #+linux "so")
+
+
(defun load-foreign-library (filename &key module supporting-libraries
force-load)
#+allegro (declare (ignore module supporting-libraries))