X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Flibraries.cl;h=38e2f22f16e985954370104ef642c5e5eca45fe7;hb=22b50a1703e3b29bbe6a120484ec46577e2bebf2;hp=ac04d9365a16a5a57ac9ec296e3fe055f7b0de6c;hpb=2bd3a8844d18afb4149c775d3108ad2d32a16bf5;p=uffi.git diff --git a/src/libraries.cl b/src/libraries.cl index ac04d93..38e2f22 100644 --- a/src/libraries.cl +++ b/src/libraries.cl @@ -7,7 +7,7 @@ ;;;; 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 ;;;; @@ -22,6 +22,13 @@ (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))