cgo: add package directory to header include paths

This commit is contained in:
Ayke van Laethem
2018-11-30 13:01:20 +01:00
parent c6069476a7
commit 6cacafb8dc
8 changed files with 25 additions and 8 deletions
+1 -2
View File
@@ -2,8 +2,7 @@ package main
/*
int fortytwo(void);
typedef short myint;
int add(int a, int b);
#include "main.h"
*/
import "C"