Handbook
Glossary
cpVect-array
Vocabulary
specialized-arrays
.
instances
.
chipmunk
.
ffi
.
cpVect
Definition
USING:
alien
sequences.private
;
IN:
specialized-arrays.instances.chipmunk.ffi.cpVect
TUPLE:
cpVect-array
{
underlying
c-ptr
read-only
initial:
f
}
{
length
array-capacity
read-only
initial:
0
}
;
final
Methods
USING:
prettyprint.custom
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
>pprint-sequence
;
USING:
accessors
kernel
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
clone
[
underlying>>
clone
]
[
length>>
]
bi
<direct-cpVect-array>
;
inline
USING:
kernel
specialized-arrays.instances.chipmunk.ffi.cpVect
specialized-arrays.private
;
M:
cpVect-array
direct-like
drop
<direct-cpVect-array>
;
inline
USING:
alien
alien.c-types
chipmunk.ffi
kernel
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
element-size
drop
\
cpVect
heap-size
;
inline
USING:
classes
kernel
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
equal?
over
cpVect-array
instance?
[
sequence=
]
[
2drop
f
]
if
;
USING:
accessors
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
length
length>>
;
inline
USING:
alien.data
chipmunk.ffi
classes
kernel
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
like
drop
dup
cpVect-array
instance?
[
\
cpVect
>c-array
]
unless
;
inline
USING:
kernel
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
new-sequence
drop
(cpVect-array)
;
inline
USING:
accessors
alien
alien.c-types
chipmunk.ffi
kernel
specialized-arrays.instances.chipmunk.ffi.cpVect
specialized-arrays.private
;
M:
cpVect-array
nth-c-ptr
underlying>>
\
cpVect
array-accessor
drop
swap
<displaced-alien>
;
inline
USING:
accessors
alien.c-types
chipmunk.ffi
kernel
math
sequences.private
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
nth-unsafe
[
integer>fixnum
]
dip
underlying>>
\
cpVect
alien-element
;
inline
USING:
kernel
prettyprint.custom
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
pprint-delims
drop
\
cpVect-array{
\
}
;
USING:
accessors
alien.c-types
byte-arrays
chipmunk.ffi
kernel
math
sequences.private
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
resize
[
[
\
cpVect
heap-size
*
]
[
underlying>>
]
bi*
resize-byte-array
]
[
drop
]
2bi
<direct-cpVect-array>
;
inline
USING:
accessors
alien.c-types
chipmunk.ffi
kernel
math
sequences.private
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
set-nth-unsafe
[
integer>fixnum
]
dip
underlying>>
\
cpVect
set-alien-element
;
inline
USING:
chipmunk.ffi
kernel
specialized-arrays
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
underlying-type
drop
\
cpVect
;
USING:
alien.c-types
chipmunk.ffi
math
math.vectors
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
v*high
[
*
\
cpVect
heap-size
neg
shift
]
2map
;
inline
USING:
alien.c-types
chipmunk.ffi
math
math.vectors
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
vs*
[
*
\
cpVect
c-type-clamp
]
2map
;
inline
USING:
alien.c-types
chipmunk.ffi
math
math.vectors
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
vs+
[
+
\
cpVect
c-type-clamp
]
2map
;
inline
USING:
alien.c-types
chipmunk.ffi
math
math.vectors
sequences
specialized-arrays.instances.chipmunk.ffi.cpVect
;
M:
cpVect-array
vs-
[
-
\
cpVect
c-type-clamp
]
2map
;
inline