chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3fa4f6b
)
INIT-TYPES-IN-LIBRARY should now search for files in the default gtk libdir
author
espen
<espen>
Mon, 12 Nov 2001 22:24:29 +0000
(22:24 +0000)
committer
espen
<espen>
Mon, 12 Nov 2001 22:24:29 +0000
(22:24 +0000)
glib/gtype.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/gtype.lisp
b/glib/gtype.lisp
index ad61bdad8346e4076af9d0120e45be42ebbe82f7..5aee3dac93a5dfcddd4daf021e8e975abfbe8460 100644
(file)
--- a/
glib/gtype.lisp
+++ b/
glib/gtype.lisp
@@
-15,7
+15,7
@@
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;; License along with this library; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-;; $Id: gtype.lisp,v 1.1
2 2001/10/21 21:50:18
espen Exp $
+;; $Id: gtype.lisp,v 1.1
3 2001/11/12 22:24:29
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-121,7
+121,7
@@
(defun init-type (init)
(defun %init-types-in-library (pathname ignore)
(let ((process (ext:run-program
(defun %init-types-in-library (pathname ignore)
(let ((process (ext:run-program
- "nm" (list (namestring (truename pathname)))
+ "nm" (list
"-D"
(namestring (truename pathname)))
:output :stream :wait nil))
(fnames ()))
(labels ((read-symbols ()
:output :stream :wait nil))
(fnames ()))
(labels ((read-symbols ()
@@
-137,8
+137,9
@@
(defun %init-types-in-library (pathname ignore)
(ext:process-close process)
`(init-type ',fnames))))
(ext:process-close process)
`(init-type ',fnames))))
-(defmacro init-types-in-library (pathname &key ignore)
- (%init-types-in-library pathname ignore))
+(defmacro init-types-in-library (filename &key ignore)
+ (%init-types-in-library
+ (format nil "~A/~A" user::gtk-library-path filename) ignore))