From ab7da898ef4fead8e6914c786a48223fe145f764 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 31 Oct 2012 03:41:10 +0000 Subject: [PATCH] Define uintgo for the benefit of Go .swig files. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13876 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/go/goruntime.swg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/go/goruntime.swg b/Lib/go/goruntime.swg index f27bbae5e..4b7daf41f 100644 --- a/Lib/go/goruntime.swg +++ b/Lib/go/goruntime.swg @@ -16,14 +16,17 @@ #if SWIGGO_INTGO_SIZE == 32 %insert(runtime) %{ typedef int intgo; +typedef unsigned int uintgo; %} #elif SWIGGO_INTGO_SIZE == 64 %insert(runtime) %{ typedef long long intgo; +typedef unsigned long long uintgo; %} #else %insert(runtime) %{ typedef ptrdiff_t intgo; +typedef size_t uintgo; %} #endif