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:
73572c1
)
Log handling code commented out
author
espen
<espen>
Fri, 4 Feb 2005 00:15:24 +0000
(
00:15
+0000)
committer
espen
<espen>
Fri, 4 Feb 2005 00:15:24 +0000
(
00:15
+0000)
glib/gcallback.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/gcallback.lisp
b/glib/gcallback.lisp
index 6cacfcab34e792870d595b6819b1a34378a10308..15d3b94408b3c2e0c16397a5e26ebc11dcfbc0a5 100644
(file)
--- a/
glib/gcallback.lisp
+++ b/
glib/gcallback.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: gcallback.lisp,v 1.
19 2005-02-03 23:09:0
4 espen Exp $
+;; $Id: gcallback.lisp,v 1.
20 2005-02-04 00:15:2
4 espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-345,14
+345,14
@@
(defun signal-emit (object signal &rest args)
;;; Message logging
;;; Message logging
-TODO: define and signal conditions based on log-level
+
;;
TODO: define and signal conditions based on log-level
-(defcallback log-handler (nil (domain (copy-of string))
-
(log-level int)
-
(message (copy-of string)))
- (error "~A: ~A" domain message))
+
;;
(defcallback log-handler (nil (domain (copy-of string))
+
;;
(log-level int)
+
;;
(message (copy-of string)))
+
;;
(error "~A: ~A" domain message))
-(setf (extern-alien "log_handler" system-area-pointer) (callback log-handler))
+
;;
(setf (extern-alien "log_handler" system-area-pointer) (callback log-handler))
;;;; Convenient macros
;;;; Convenient macros