Skip to content

Commit

Permalink
Merge pull request #1 from skypher/master
Browse files Browse the repository at this point in the history
pull from upstream master
  • Loading branch information
gendl committed Jan 23, 2023
2 parents 5531ac3 + 8fbdb07 commit 86b5cb5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 38 deletions.
2 changes: 1 addition & 1 deletion backends.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
(error "~S is a required argument" name))

(defclass backend ()
((name :accessor name :initform "Unknown" :initarg :name :type symbol)
((name :accessor name :initform :|Unknown| :initarg :name :type symbol)
(magic-number :accessor magic-number :initarg :magic-number :type integer)
(compatible-magic-numbers :accessor compatible-magic-numbers
:initarg :compatible-magic-numbers :type list)
Expand Down
29 changes: 0 additions & 29 deletions ecl/mop.lisp

This file was deleted.

8 changes: 8 additions & 0 deletions package.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@
#+ecl (:import-from #:clos
#:generic-function-name
#:compute-slots
#:slot-definition
#:slot-definition-name
#:slot-definition-allocation
#:slot-definition-initform
#:slot-definition-initargs
#:slot-definition-writers
#:slot-definition-readers
#:slot-definition-type
#:class-direct-default-initargs
#:class-direct-slots
#:class-direct-superclasses
Expand Down
16 changes: 8 additions & 8 deletions sbcl/custom-xml.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@

(defstore-xml (obj single-float stream)
(with-tag ("SINGLE-FLOAT" stream)
(princ-and-store "BITS" (sb-kernel::single-float-bits obj)
(princ-and-store "BITS" (sb-kernel:single-float-bits obj)
stream)))

(defrestore-xml (single-float stream)
(sb-kernel::make-single-float
(restore-first (get-child "BITS" stream))))
(sb-kernel:make-single-float
(restore-first (get-child "BITS" stream))))

(defstore-xml (obj double-float stream)
(with-tag ("DOUBLE-FLOAT" stream)
(princ-and-store "HIGH-BITS" (sb-kernel::double-float-high-bits obj)
(princ-and-store "HIGH-BITS" (sb-kernel:double-float-high-bits obj)
stream)
(princ-and-store "LOW-BITS" (sb-kernel::double-float-low-bits obj)
(princ-and-store "LOW-BITS" (sb-kernel:double-float-low-bits obj)
stream)))

(defrestore-xml (double-float stream)
(sb-kernel::make-double-float (restore-first (get-child "HIGH-BITS" stream))
(restore-first (get-child "LOW-BITS" stream))))
(sb-kernel:make-double-float (restore-first (get-child "HIGH-BITS" stream))
(restore-first (get-child "LOW-BITS" stream))))


;; EOF
;; EOF

0 comments on commit 86b5cb5

Please sign in to comment.