You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
342 B

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