From 0997e2ef3022e8ed686789f9d710b1eb6501d592 Mon Sep 17 00:00:00 2001 From: bloeys Date: Sat, 22 Jan 2022 22:24:49 +0400 Subject: [PATCH] Simplify wrapping --- pgo/pgo.go | 4 ++-- pgo/{wrap.cxx => wrap.c} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename pgo/{wrap.cxx => wrap.c} (100%) diff --git a/pgo/pgo.go b/pgo/pgo.go index ad24011..74fb315 100755 --- a/pgo/pgo.go +++ b/pgo/pgo.go @@ -1,10 +1,10 @@ package pgo /* -#cgo CPPFLAGS: -I physx-c +#cgo CFLAGS: -I physx-c #cgo LDFLAGS: -L ./libs -l physx-c -#include +#include #include //Needed for C.free */ import "C" diff --git a/pgo/wrap.cxx b/pgo/wrap.c similarity index 100% rename from pgo/wrap.cxx rename to pgo/wrap.c