Re: [Mono-dev] Mono.lib on Windows

2008-05-31 Thread Kornél Pál
Hi, I believe that we should have a properly maintained mono.def file and make the cygwin build use that for exporting symbols rather than exporting all the symbols but omitting them from the import library. The import library should match the functions exported by mono.dll. Kornél

[Mono-dev] Marshalling datatypes

2008-05-31 Thread Euan MacInnes
Hi all, I have a number of problems working with external APIs on linux, specifically a datatype that I don't know how to marshal, and a function that refuses to marshal first is a parameter of a function that is a **byte[] array. A *byte[] array is more straightforward as that is a

Re: [Mono-dev] Marshalling datatypes

2008-05-31 Thread Jonathan Pryor
On Sat, 2008-05-31 at 15:50 +0800, Euan MacInnes wrote: first is a parameter of a function that is a **byte[] array. A *byte[] array is more straightforward as that is a Marshal.Copy(), how to do a **byte[]? That's effectively a byte*** parameter. I think you'll have to marshal that as a `ref

[Mono-dev] BigInteger speedup

2008-05-31 Thread Alan McGovern
Attached is a tiny patch for BigInteger which removes an unnecessary instantiation. Anything which makes use of the ModPow operation will benefit from this. Alan. bigintopt.diff Description: Binary data ___ Mono-devel-list mailing list

Re: [Mono-dev] BigInteger speedup

2008-05-31 Thread Sebastien Pouliot
Good catch, please commit! On Sat, 2008-05-31 at 12:34 +0100, Alan McGovern wrote: Attached is a tiny patch for BigInteger which removes an unnecessary instantiation. Anything which makes use of the ModPow operation will benefit from this. Alan.

Re: [Mono-dev] BigInteger speedup

2008-05-31 Thread Alan McGovern
Done. Thanks, Alan. On Sat, May 31, 2008 at 2:45 PM, Sebastien Pouliot [EMAIL PROTECTED] wrote: Good catch, please commit! On Sat, 2008-05-31 at 12:34 +0100, Alan McGovern wrote: Attached is a tiny patch for BigInteger which removes an unnecessary instantiation. Anything which makes use of

Re: [Mono-dev] [PATCH] How To Convince Mono To Allocate Big Arrays

2008-05-31 Thread Andreas Färber
Am 31.05.2008 um 15:19 schrieb Rodrigo Kumpera: Patch looks great, please commit. Thanks for the quick feedback, r104591. Andreas On Sat, May 31, 2008 at 9:21 AM, Andreas Färber [EMAIL PROTECTED] wrote: I noticed that configure now outputs a line BigArrays: by default. I assume this

Re: [Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

2008-05-31 Thread buhochil...@gmail.com
On Fri, 2008-05-30 at 17:00 -0400, [EMAIL PROTECTED] wrote: ExcObject: System.InvalidProgramException: Invalid IL code in (wrapper native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback (intptr,intptr): IL_0030: call 0x0006 I think this is a known issue

Re: [Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

2008-05-31 Thread Mike Kestner
On Sat, 2008-05-31 at 21:50 -0400, [EMAIL PROTECTED] wrote: On Fri, 2008-05-30 at 17:00 -0400, [EMAIL PROTECTED] wrote: ExcObject: System.InvalidProgramException: Invalid IL code in (wrapper native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback (intptr,intptr):

Re: [Mono-dev] Strange GdkSharp.PixbufDestroyNotifyWrapper error..

2008-05-31 Thread buhochil...@gmail.com
On Sat, 2008-05-31 at 21:50 -0400, [EMAIL PROTECTED] wrote: On Fri, 2008-05-30 at 17:00 -0400, [EMAIL PROTECTED] wrote: ExcObject: System.InvalidProgramException: Invalid IL code in (wrapper native-to-managed) GdkSharp.PixbufDestroyNotifyWrapper:NativeCallback