mark2web/vendor/github.com/itchio/go-brotli/common/common.go
Sebastian Frank a781485c0a
Some checks failed
continuous-integration/drone/push Build is failing
no git submodules
2022-02-28 10:28:34 +01:00

17 lines
399 B
Go

// Package common contains the common dictionary used by the enc and dec packages
package common // import "github.com/itchio/go-brotli/common"
/*
#cgo CFLAGS: -I${SRCDIR}/../include
#include "dictionary.h"
*/
import "C"
import "unsafe"
// GetDictionary retrieves a pointer to the dictionary data structure
func GetDictionary() unsafe.Pointer {
return unsafe.Pointer(C.BrotliGetDictionary())
}