Files
filestash/server/plugin/plg_image_c/image_raw_linux.go
Yonas Yanfa 54468eb2c5 feature (freebsd): PR #643 off master. (#731)
Co-authored-by: Yonas <yonas@mail.lan>
2024-08-07 22:06:27 +10:00

11 lines
256 B
Go

package plg_image_c
// #include "image_raw.h"
// #cgo LDFLAGS: -l:libjpeg.a -l:libraw.a -fopenmp -l:libstdc++.a -llcms2 -lm
import "C"
func raw(input uintptr, output uintptr, size int) {
C.raw_to_jpeg(C.int(input), C.int(output), C.int(size))
return
}