From 99dbb4b05c1579ce6c2ddbaef851171674f6c1d6 Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Wed, 29 May 2024 19:52:11 +0200 Subject: [PATCH] ffi types file added --- raylib/ffi_types_unix.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 raylib/ffi_types_unix.go diff --git a/raylib/ffi_types_unix.go b/raylib/ffi_types_unix.go new file mode 100644 index 0000000..68f6c26 --- /dev/null +++ b/raylib/ffi_types_unix.go @@ -0,0 +1,9 @@ +//go:build !cgo && (freebsd || linux) + +package rl + +import "github.com/jupiterrider/ffi" + +var ( + typeColor = ffi.Type{Type: ffi.Struct, Elements: &[]*ffi.Type{&ffi.TypeUint8, &ffi.TypeUint8, &ffi.TypeUint8, &ffi.TypeUint8, nil}[0]} +)