Function

G-Golf GI function and argument high level API.
The G-Golf GI function and argument high level API.

Classes

<function>
<argument>

Accessors and Methods

!info_
!namespace_
!g-name____
!name
!override?
!i-func
!o-func
!o-spec-pos
!flags
!is-method?
!n-arg
!caller-owns
!return-type_
!type-desc
!may-return-null
!arguments
!n-gi-arg-in
!args-in
!gi-args-in
!gi-args-in-bv
!n-gi-arg-out
!args-out
!gi-args-out
!gi-args-out-bv
!gi-arg-result
!g-name_____
!name_
!closure
!destroy
!direction
!transfert
!scope
!type-tag
!type-desc_
!forced-type
!string-pointer
!is-pointer?
!may-be-null?
!is-caller-allocate?
!is-optional?
!is-return-value?
!is-skip?
!arg-pos
!gi-argument-in
!gi-argument-in-bv-pos
!gi-argument-out
!gi-argument-out-bv-pos
!gi-argument-field

Classes

Class: <function>

Its slots are:

info

#:accessor !info

namespace

#:accessor !namespace

g-name

#:accessor !g-name

name

#:accessor !name

override?

#:accessor !override?

i-func

#:accessor !i-func

o-func

#:accessor !o-func

o-spec-pos

#:accessor !o-spec-pos

flags

#:accessor !flags

is-method?

#:accessor !is-method

n-arg

#:accessor !n-arg

caller-owns

#:accessor !caller-owns

return-type

#:accessor !return-type

type-desc

#:accessor !type-desc

may-return-null?

#:accessor !may-return-null?

arguments

#:accessor !arguments

n-gi-arg-in

#:accessor !n-gi-arg-in

args-in

#:accessor !args-in

gi-args-in

#:accessor !gi-args-in

gi-args-in-bv

#:accessor !gi-args-in-bv

n-gi-arg-out

#:accessor !n-gi-arg-out

args-out

#:accessor !args-out

gi-args-out

#:accessor !gi-args-out

gi-args-out-bv

#:accessor !gi-args-out-bv

gi-arg-result

#:accessor !gi-arg-result

Instances of the <function> class are immutable (to be precise, there are not meant to be mutated, see GOOPS Notes and Conventions, ’Slots are not Immutable’).

Class: <argument>

Its slots are:

g-name

#:accessor !g-name
#:init-keyword #:g-name

name

#:accessor !name
#:init-keyword #:name

closure

#:accessor !closure

destroy

#:accessor !destroy

direction

#:accessor !direction
#:init-keyword #:direction

transfert

#:accessor !transfert

scope

#:accessor !scope

type-tag

#:accessor !type-tag
#:init-keyword #:type-tag

type-desc

#:accessor !type-desc
#:init-keyword #:type-desc

forced-type

#:accessor !forced-type
#:init-keyword #:forced-type

string-pointer

#:accessor !string-pointer

is-pointer?

#:accessor !is-pointer?
#:init-keyword #:is-pointer?

may-be-null?

#:accessor !may-be-nul?
#:init-keyword #:may-be-null?

is-caller-allocate?

#:accessor !is-caller-allocate?

is-optional?

#:accessor !is-optional?

is-return-value?

#:accessor !is-return-value?

is-skip?

#:accessor !is-skip?

arg-pos

#:accessor !arg-pos
#:init-keyword #:arg-pos

gi-argument-in

#:accessor !gi-argument-in
#:init-value #f

gi-argument-in-bv-pos

#:accessor !gi-argument-in-bv-pos
#:init-value #f

gi-argument-out

#:accessor !gi-argument-out
#:init-value #f

gi-argument-out-bv-pos

#:accessor !gi-argument-out-bv-pos
#:init-value #f

name

#:accessor !gi-argument-field
#:init-keyword #:gi-argument-field

Instances of the <argument> class are immutable (to be precise, there are not meant to be mutated, see GOOPS Notes and Conventions, ’Slots are not Immutable’).

Accessors and Methods

Note: in this section, the function and argument arguments are [must be] a <function> and an <argument> instance, respectively.

Accessor: !info function
Accessor: !namespace function
Accessor: !g-name function
Accessor: !name function
Accessor: !override? function
Accessor: !i-func function
Accessor: !o-func function
Accessor: !o-spec-pos function
Accessor: !flags function
Accessor: !is-method? function
Accessor: !n-arg function
Accessor: !caller-owns function
Accessor: !return-type function
Accessor: !type-desc function
Accessor: !may-return-null function
Accessor: !arguments function
Accessor: !n-gi-arg-in function
Accessor: !args-in function
Accessor: !gi-args-in function
Accessor: !gi-args-in-bv function
Accessor: !n-gi-arg-out function
Accessor: !args-out function
Accessor: !gi-args-out function
Accessor: !gi-args-out-bv function
Accessor: !gi-arg-result function

Returns the content of their respective slot for function.

Accessor: !g-name argument
Accessor: !name argument
Accessor: !closure argument
Accessor: !destroy argument
Accessor: !direction argument
Accessor: !transfert argument
Accessor: !scope argument
Accessor: !type-tag argument
Accessor: !type-desc argument
Accessor: !forced-type argument
Accessor: !string-pointer argument
Accessor: !is-pointer? argument
Accessor: !may-be-null? argument
Accessor: !is-caller-allocate? argument
Accessor: !is-optional? argument
Accessor: !is-return-value? argument
Accessor: !is-skip? argument
Accessor: !arg-pos argument
Accessor: !gi-argument-in argument
Accessor: !gi-argument-in-bv-pos argument
Accessor: !gi-argument-out argument
Accessor: !gi-argument-out-bv-pos argument
Accessor: !gi-argument-field argument

Returns the content of their respective slot for argument.