Handbook
Glossary
normalize-c-type-prefix ( string -- string' )
Vocabulary
libclang
Inputs
string
an
object
Outputs
string'
an
object
Definition
USING:
assocs
kernel
sequences
splitting
;
IN:
libclang
::
normalize-c-type-prefix
( string -- string' )
c-type-prefixes
[
drop
string
swap
head?
]
assoc-find
[
[
string
swap
?head
drop
trim-blanks
]
dip
prepend
]
[
2drop
string
dup
"(*)"
swap
subseq?
[
drop
"void*"
]
when
]
if
;