Handbook
Glossary
returns-by-value? ( type -- ? )
Vocabulary
alien
.
fortran
.
private
Inputs
type
an
object
Outputs
?
an
object
Definition
IN:
alien.fortran.private
GENERIC:
returns-by-value?
( type -- ? )
Methods
USING:
alien.fortran.private
;
M:
character-type
returns-by-value?
fix-character-type
single-char?
;
USING:
accessors
alien.fortran.private
combinators.short-circuit
kernel
;
M:
complex-type
returns-by-value?
{
[
drop
complex-functions-return-by-value?
]
[
dims>>
not
]
}
1&&
;
USING:
alien.fortran.private
kernel
;
M:
f
returns-by-value?
drop
t
;
USING:
alien.fortran.private
kernel
;
M:
fortran-type
returns-by-value?
drop
f
;
USING:
accessors
alien.fortran.private
kernel
;
M:
number-type
returns-by-value?
dims>>
not
;