From: Aureliano Buendia Date: 2006-11-15T02:04:14+09:00 Subject: Ruby <-SWIG-> C arrays Hi, I am trying to wrap this function is C ro Ruby using SWIG: typedef unsigned long uInt32 someFunction(uInt32 someArray[]) The array is simply some input. Calling the wrapped function in Ruby: Wrapper.someFunction([1, 2, 3]) produces this error: ...in method 'someFunction', argument 1 of type 'uInt32 []' (TypeError) Does this have anything to do with the argument being defined as 'uInt32 someArray[]' and not 'uInt32 *someArray'? -- Posted via http://www.ruby-forum.com/.