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

foo

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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"
)

Variables

This section is empty.

Functions

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

llgo:link GzFile.Gzgetc C._llcppg_z_gzgetc

func (GzFile) Gzgetc_

func (file GzFile) Gzgetc_() c.Int

Read one byte, falling back to the real function.

llgo:link GzFile.Gzgetc_ C.gzgetc_

type GzFileS

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

type Stream

type Stream StreamS

type StreamS

type StreamS struct {
}

type Streamp

type Streamp = *Stream

func (Streamp) Cleanup_

func (strm Streamp) Cleanup_()

Release internal buffers.

llgo:link Streamp.Cleanup_ C.cleanup_

func (Streamp) DeflateInit

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

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

llgo:link Streamp.DeflateInit C._llcppg_z_deflateInit

func (Streamp) DeflateInit_

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

llgo:link Streamp.DeflateInit_ C.deflateInit_

func (Streamp) Flush

func (strm Streamp) Flush()

Flush any pending output.

llgo:link Streamp.Flush C._llcppg_z_flush

func (Streamp) Flush_

func (strm Streamp) Flush_()

llgo:link Streamp.Flush_ C.flush_

func (Streamp) Reset

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

llgo:link Streamp.Reset C._llcppg_z_reset

func (Streamp) Reset_

func (strm Streamp) Reset_(flags c.Int, version *c.Char)

llgo:link Streamp.Reset_ C.reset_

Jump to

Keyboard shortcuts

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