In some code in mono/mini I need to figure out how many elements there
are in a fixed buffer field in a struct, something like this:
public unsafe struct double_array4 {
public fixed double f1[4];
}
So I'd need to know 4.
I can get the MonoClass of the field
Reposting, as it looks like the message hasn't hit the mailing list
-
Hi,
I'm using embedded mono (using unity) in C++ DLL. I'm calling some managed
functions using mono_runtime_invoke(). The function does throw an exception,
which I caught with the MonoException argument. Then I
On 5 Aug 2015, at 18:19, Alexander Köplinger alex.koeplin...@outlook.com
wrote:
You can build the MDK with
https://github.com/mono/bockbuild#the-mono-mac-distribution, but I'm not sure
if that includes debug symbols (I think it does).
Nice to see that bockbuild now has some usage
From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
boun...@lists.ximian.com] On Behalf Of Robert Jordan
On 05.08.2015 18:40, Andres G. Aragoneses wrote:
I hope you've considered the licensing implications. In particular,
if you distribute the mono runtime with an application,
- Original Message -
From: Robert Jordan robe...@gmx.net
To: mono-devel-list@lists.ximian.com
Cc:
Sent: Thursday, August 6, 2015 10:31 AM
Subject: Re: [Mono-dev] Embedded mono crash on exception
On 06.08.2015 08:12, Trigve wrote:
I'm using embedded mono (using unity) in C++
I'm not concerned about licences or anything else, because application i'm
creating is for internal use only in company. I only need it to work on any
computer running linux, without any external libs or any other user input...
Just insert usb, run application and move on...
--
View this
From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
boun...@lists.ximian.com] On Behalf Of onedevteam.com
I'm not concerned about licences or anything else, because application i'm
creating is for internal use only in company. I only need it to work on any
computer running linux,
Hi,
The type has a FixedBufferAttribute custom attribute which contains the
length of the array. There are some functions in reflection.c
like mono_custom_attrs_from_class () which can return information about it.
Zoltan
On Thu, Aug 6, 2015 at 12:32 PM, Bill Seurer
Hi Neal,
So it appears the use of MONO_OBJECT_SETREF on end_invoke_called is wrong
as it is going to write on 8 bytes, instead of 1.
I added an assertion to this macro to test the size of the field we are
assigning to try to avoid further bugs.
Can you try with
On 6 Aug 2015, at 15:34, Howard Rubin howard.ru...@hl.konicaminolta.us
wrote:
You have to create the generic method. That can be done in C#, which it
sounds like you're already doing.
If you'd like to do that in the calling C++/mono (my preferred solution),
have a look at
On 06.08.2015 08:12, Trigve wrote:
I'm using embedded mono (using unity) in C++ DLL. I'm calling some managed
functions using mono_runtime_invoke(). The function does throw an exception,
which I caught with the MonoException argument. Then I want to unwind stack
(in C++) so I throw my custom
Hey Neale,
When hitting threadpool-ms.c:1310, could you print the result of the
following 2 commands in gdb (or equivalent):
p mono_object_describe_fields((MonoObject*)async_result)
p (long long)(void*)async_result-async_callback - (long
long)(void*)async_result
I suspect the memory layout on
On 06.08.2015 14:48, Edward Ned Harvey (mono) wrote:
From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
boun...@lists.ximian.com] On Behalf Of Robert Jordan
On 05.08.2015 18:40, Andres G. Aragoneses wrote:
I hope you've considered the licensing implications. In particular,
if you
13 matches
Mail list logo