memego

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

README

memego

A golang wrapper for the MemeString library

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type InvokeMatchParameter

type InvokeMatchParameter struct {
	// contains filtered or unexported fields
}

type MatchCondByteFn

type MatchCondByteFn func(b byte, userdata unsafe.Pointer) int

type SplitBehavior_t

type SplitBehavior_t C.MemeFlag_SplitBehavior_t

type Storage_t

type Storage_t int

type String

type String struct {
	// contains filtered or unexported fields
}

func CreateString

func CreateString() *String

func CreateStringByBytes

func CreateStringByBytes(bytes []byte) (*String, int)

func CreateStringByCStr

func CreateStringByCStr(cstr *C.char, len C.size_t) (*String, int)

func CreateStringByGoStr

func CreateStringByGoStr(str string) (*String, int)

func CreateStringByOther

func CreateStringByOther(str *String) (*String, int)

func CreateStringWithTakeOver added in v0.0.3

func CreateStringWithTakeOver(data C.mms_stack_t) *String

接管 C.mms_stack_t 类型

Jump to

Keyboard shortcuts

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