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:
5b89150
)
Added prooper return type for gerror-signal
author
espen
<espen>
Fri, 11 Apr 2008 20:35:48 +0000
(20:35 +0000)
committer
espen
<espen>
Fri, 11 Apr 2008 20:35:48 +0000
(20:35 +0000)
glib/gerror.lisp
patch
|
blob
|
blame
|
history
diff --git
a/glib/gerror.lisp
b/glib/gerror.lisp
index c690a5ead4bde35c6a034f03003bae02cf1eaa46..758752d4f9c75401fd9ecb2ce00430c3dbf2f7e0 100644
(file)
--- a/
glib/gerror.lisp
+++ b/
glib/gerror.lisp
@@
-20,7
+20,7
@@
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-;; $Id: gerror.lisp,v 1.
9 2007/12/29 19:21:26
espen Exp $
+;; $Id: gerror.lisp,v 1.
10 2008/04/11 20:35:48
espen Exp $
(in-package "GLIB")
(in-package "GLIB")
@@
-60,6
+60,10
@@
(defun signal-gerror (gerror)
(deftype gerror-signal () 'gerror)
(deftype gerror-signal () 'gerror)
+(define-type-method return-type ((type gerror-signal))
+ (declare (ignore type))
+ '(or null gerror))
+
(define-type-method from-alien-form ((type gerror-signal) gerror &key (ref :free))
(declare (ignore type))
`(let ((gerror ,(from-alien-form 'gerror gerror :ref ref)))
(define-type-method from-alien-form ((type gerror-signal) gerror &key (ref :free))
(declare (ignore type))
`(let ((gerror ,(from-alien-form 'gerror gerror :ref ref)))