listth

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadIncludes

func LoadIncludes(headerFile string) (includes iter.Seq[Include], err error)

LoadIncludes loads the include directives from the specified header file.

func TopHeaders

func TopHeaders(headerDir string, recursive, rel bool, includeDirs []string) (topHeaders []string, err error)

TopHeaders returns the top-level header files in the specified directory.

Types

type Include

type Include struct {
	Filename string
	Quote    bool
}

Include represents a C/C++ include directive.

func (*Include) Search

func (p *Include) Search(workDir string, searchDirs []string) (found string, ok bool)

Search searches for the include file in the specified directories.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL