Help us shape the future of Go! Take the 2026 Go Developer Survey

foo

package
v0.13.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LLGoPackage = "link: -L/path/foo -lfoo"
	LLGoFiles   = "-I/path/foo/include: _wrap/llcppg.c"
)
View Source
const ZLIB_VERSION = "1.3.1"
View Source
const Z_DEFAULT_LEVEL = -1

Variables

This section is empty.

Functions

func Configure

func Configure(mode c.Int) c.Int

Package-level callee with a numeric literal and an object-like constant macro.

func Configure_

func Configure_(mode c.Int, level c.Int) c.Int

A package-level callee: its first parameter is a scalar, so it is not converted to a method. Used to cover the package-function call path and numeric/constant-macro arguments.

func Version

func Version() c.Int

No-argument forwarder

func Version_

func Version_() c.Int

Return the library version.

Types

type GzFile

type GzFile = *GzFileS

func (GzFile) Gzgetc

func (g GzFile) Gzgetc() c.Int

gzgetc has real logic, so it stays an explicit MacroFunc entry (C wrapper).

func (GzFile) Gzgetc_

func (file GzFile) Gzgetc_() c.Int

Read one byte, falling back to the real function.

type GzFileS

type GzFileS struct {
	Have c.Uint
	Next *uint8
	Pos  c.Long
}

type OpaqueS

type OpaqueS struct {
}

type OpaqueT

type OpaqueT OpaqueS

An incomplete (opaque) struct: its layout is unknown, so sizeof over it must not be detected (rule 3).

func (*OpaqueT) OpenOpaque

func (o *OpaqueT) OpenOpaque() c.Int

Skipped: sizeof over an incomplete type whose layout Go cannot know (rule 3).

func (*OpaqueT) OpenOpaque_

func (o *OpaqueT) OpenOpaque_(size c.Int) c.Int

type Stream

type Stream = StreamS

type StreamS

type StreamS struct {
	NextIn  *uint8
	AvailIn c.Uint
	TotalIn c.Ulong
}

type Streamp

type Streamp = *Stream

func (Streamp) DeflateInit

func (strm Streamp) DeflateInit(level c.Int) c.Int

Initialize for deflation, filling in the version and stream size.

func (Streamp) DeflateInit_

func (strm Streamp) DeflateInit_(level c.Int, version *c.Char, stream_size c.Int) c.Int

func (Streamp) InflateBackInit

func (strm Streamp) InflateBackInit(windowBits c.Int, window *uint8) c.Int

func (Streamp) InflateBackInit_

func (strm Streamp) InflateBackInit_(windowBits c.Int, window *uint8, version *c.Char, stream_size c.Int) c.Int

Initialize for deflation with extra options.

func (Streamp) InflateInit

func (strm Streamp) InflateInit() c.Int

func (Streamp) InflateInit_

func (strm Streamp) InflateInit_(version *c.Char, stream_size c.Int) c.Int

func (Streamp) Reset

func (strm Streamp) Reset()

void-returning forwarder: the body is a bare call with no result.

func (Streamp) Reset_

func (strm Streamp) Reset_(flags c.Int)

Jump to

Keyboard shortcuts

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