From: Martin Man Date: 2002-05-12T02:32:05+09:00 Subject: [FXRuby] FXDCWindow#drawLines --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi all [please CC me on the replies] how is one supposed to call $subj, which has the following C++ prototype drawLines (FXPoint *points, uint count) and is wrapped under ruby to expect SWIGTYPE_p_FXPoint and Fixnum, how is it possible to create SWIGTYPE_p_FXPoint from let's say ruby's Array= of FXPoint instances... Passing Array and fixnum yields something as "wrong argument type passed (Array) expecting type Data" sorry if it's more of SWIG issue regards, martin --=20 It has become appallingly obvious that our technology has exceeded our humanity. -- Albert Einstein --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE83VVUYgJwJG4GAiMRAgq1AKCA5Fy6lEmCbOmq1hrlX5EdmORuRgCgp5T3 qR/gHi3SUg3sB6lasgr511s= =r3Tt -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--