with-clang-translation-unit ( idx source-file command-line-args nargs unsaved-files nunsaved-files options quot: ( tu -- ) -- )


Vocabulary
libclang

Inputs
idxan object
source-filean object
command-line-argsan object
nargsan object
unsaved-filesan object
nunsaved-filesan object
optionsan object
quota quotation with stack effect ( tu -- )


Outputs
None

Definition


: with-clang-translation-unit
( idx source-file command-line-args nargs unsaved-files nunsaved-files options quot: ( tu -- ) -- )
[ enum>number clang_parseTranslationUnit ] dip keep
clang_disposeTranslationUnit ; inline