// IsFileMultipleIncludeGuarded determines whether the given header is guarded // against multiple inclusions, either with the conventional // #ifndef/#define/#endif macro guards or with #pragma once. func (tu TranslationUnit) IsFileMultipleIncludeGuarded(file File) bool { o := C.clang_isFileMultipleIncludeGuarded(tu.c, file.c) if o != C.uint(0) { return true } return false }
// Determine whether the given header is guarded against multiple inclusions, either with the conventional \#ifndef/\#define/\#endif macro guards or with \#pragma once. func (tu TranslationUnit) IsFileMultipleIncludeGuarded(file File) bool { o := C.clang_isFileMultipleIncludeGuarded(tu.c, file.c) return o != C.uint(0) }