Index parameter of fli:foreign-typed-aref
Hello lispworkers, Please take a look at the following excerpt from fli-4-4-5: Signature: foreign-typed-aref type array index => value Arguments type A type specifier. array A foreign pointer. index A valid vector index for array. But my observations of (setq ptr (fli:allocate-foreign-object :type :short :nelems 10)) (fli:foreign-typed-aref '(unsigned-byte 16) ptr 0) (fli:foreign-typed-aref '(unsigned-byte 16) ptr 1) (fli:foreign-typed-aref '(unsigned-byte 8) ptr 0) (fli:foreign-typed-aref '(unsigned-byte 8) ptr 1) ... show that the index parameter works a la the byte-index of sys:typed-aref. What is the truth? -- Sincerely, Dmitriy Ivanov lisp.ystok.ru