Handbook
Glossary
c-function
Vocabulary
libclang
Definition
USING:
math
strings
;
IN:
libclang
TUPLE:
c-function
{
return-type
string
initial:
""
}
{
name
string
initial:
""
}
{
args
string
initial:
""
}
{
order
integer
initial:
0
}
;
Methods
USING:
accessors
combinators
combinators.smart
kernel
libclang
sequences
;
M:
c-function
def>out-form
[
{
[
drop
"FUNCTION: "
]
[
return-type>>
" "
]
[
name>>
" ( "
]
[
args>>
dup
empty?
")\n"
" )\n"
?
]
}
cleave
]
""
append-outputs-as
;