c

package
v0.0.0-...-1667554 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package c implement the C header file generator for Headalyzer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOptions

func DefaultOptions() []h.Option

DefaultOptions returns the list of default options for the C generator.

The C generator supports the following options:

c/case - One of headalyzer.Case, specifies what casing should be used default: CapitalSnakeCase

c/header_guards - true or false, specifies if header guards should be generated, default: true

c/header_guard_name - specifies what header symbol should be used, default: HEADALYZER_GENERATED_H

func Generate

func Generate(constants []h.Constant, options []h.Option, hints []h.Hint) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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