fucking weird bug where it overwrites cffi functions?????

master
Avril 5 years ago
parent a4d142cf97
commit 7aa51baa06
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -1,6 +1,7 @@
;; cl-sipc ;; cl-sipc
(in-package :cl-sipc) (in-package :cl-sipc)
(use-package :cl-sipc-mem)
(defparameter *on-error* #'(lambda (err) nil)) (defparameter *on-error* #'(lambda (err) nil))
(defparameter *on-message* #'(lambda (msg) (defparameter *on-message* #'(lambda (msg)

@ -4,3 +4,6 @@
(:use #:cl (:use #:cl
#:cffi) #:cffi)
(:nicknames :sipc)) (:nicknames :sipc))
(defpackage #:cl-sipc-mem
(:use #:cl))

@ -1,6 +1,6 @@
;; pointer ;; pointer
(in-package :cl-sipc) (in-package :cl-sipc-mem)
(defstruct pointer (defstruct pointer
memory memory
@ -70,7 +70,8 @@
do (setf (aref vec x) (mem-aref (pointer-memory ptr) type x))) do (setf (aref vec x) (mem-aref (pointer-memory ptr) type x)))
vec)) vec))
(mapc #'export '( make-pointer (mapc #'export '(
pointer pointer
pointer-memory pointer-memory
pointer-p pointer-p

Loading…
Cancel
Save