chiark
/
gitweb
/
~mdw
/
clg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c52ab02
)
Bug fix for CLISP
author
espen
<espen>
Wed, 17 Oct 2007 17:04:56 +0000
(17:04 +0000)
committer
espen
<espen>
Wed, 17 Oct 2007 17:04:56 +0000
(17:04 +0000)
gffi/memory.lisp
patch
|
blob
|
blame
|
history
diff --git
a/gffi/memory.lisp
b/gffi/memory.lisp
index c58b37ac439126b15a1551271ac1f7014ec00959..c753434766e4bb857870a328786d7b7126abd810 100644
(file)
--- a/
gffi/memory.lisp
+++ b/
gffi/memory.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: memory.lisp,v 1.
5 2007-09-07 07:28:42
espen Exp $
+;; $Id: memory.lisp,v 1.
6 2007-10-17 17:04:56
espen Exp $
(in-package "GFFI")
(in-package "GFFI")
@@
-137,7
+137,7
@@
(declaim
(inline ref-native-uint-16))
(defun ref-native-uint-16 (location &optional (offset 0))
#+(or cmu sbcl)(sap-ref-16 location offset)
(inline ref-native-uint-16))
(defun ref-native-uint-16 (location &optional (offset 0))
#+(or cmu sbcl)(sap-ref-16 location offset)
- #+clisp(ffi:memory-as location 'ffi:int16 offset))
+ #+clisp(ffi:memory-as location 'ffi:
u
int16 offset))
(declaim
(ftype
(declaim
(ftype
@@
-147,7
+147,7
@@
(declaim
(defun (setf ref-native-uint-16) (value location &optional (offset 0))
(setf
#+(or cmu sbcl)(sap-ref-16 location offset)
(defun (setf ref-native-uint-16) (value location &optional (offset 0))
(setf
#+(or cmu sbcl)(sap-ref-16 location offset)
- #+clisp(ffi:memory-as location 'ffi:int16 offset)
+ #+clisp(ffi:memory-as location 'ffi:
u
int16 offset)
value))
value))