Merge pull request #16 from ntrocado/endless

Fix compilation errors in CCL (and probably other implementations)
This commit is contained in:
nik gaffney 2023-01-25 15:00:39 +01:00 committed by GitHub
commit f38d3a473c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,7 @@ There are some basic examples in `osc-examples.lisp` and the `devices/examples/o
- will raise an exception if input is malformed
- no pattern matching on addresses
- float en/decoding only tested on sbcl, cmucl, openmcl and allegro
- the `devices` module only works on sbcl
- only supports the type(tag)s specified in the OSC spec
## things to do in :osc

View file

@ -65,7 +65,7 @@ with microsecond precision, relative to 19700101."
(coerce (/ usecs +usecs+) 'double-float))
(defun subsecs->microseconds (subsecs)
(declare (type (float 0 1) subsecs))
(declare (type (float 0.0 1.0) subsecs))
(round (* subsecs +usecs+)))
(defun int32->subsecs (int32)

View file

@ -17,6 +17,7 @@
(:file "osc-tests" :depends-on ("osc"))
(:file "package")
(:module "devices"
:if-feature :sbcl
:depends-on ("package" "osc-data")
:components
((:file "socket-functions")