示例#1
0
/*
	Parameter Module a module object.

	Returns the number of top level headers associated with this module.
*/
func (tu TranslationUnit) Module_getNumTopLevelHeaders(module Module) uint32 {
	return uint32(C.clang_Module_getNumTopLevelHeaders(tu.c, module.c))
}
示例#2
0
/**
 * \param Module a module object.
 *
 * \returns the number of top level headers associated with this module.
 */
func (tu TranslationUnit) NumTopLevelHeaders(m Module) int {
	return int(C.clang_Module_getNumTopLevelHeaders(tu.c, m.c))
}