aboutsummaryrefslogtreecommitdiff
path: root/libs/libupm/patches/005-support_v12.patch
blob: c9d9c668eec830c7a7d2e9ad31c122cc55019d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/carrays_uint32_t.i
+++ b/src/carrays_uint32_t.i
@@ -24,7 +24,7 @@
 %typemap(in) uint32_t {
   int ecode2 = 0 ;
   if (($input)->IsInt32())
-    $1 = ($input)->Uint32Value();
+    $1 = ($input)->Uint32Value(SWIGV8_CURRENT_CONTEXT()).FromJust();
   else
     SWIG_exception_fail(SWIG_ArgError(ecode2), "failed to convert uint32");
 }