diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-06-04 08:14:52 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2003-06-04 08:14:52 +0400 |
commit | 1a453b240301fe2f212611f8f464cd7a6eab3080 (patch) | |
tree | 9fb1fda00041542a008a89a43e2a18e07ef32058 /samples | |
parent | 9249edf9bb0969013dc086ec16ba4052f57671fe (diff) |
Fixed compilation of sample
svn path=/trunk/mono/; revision=15093
Diffstat (limited to 'samples')
-rw-r--r-- | samples/embed/test.cs | 2 | ||||
-rw-r--r-- | samples/embed/teste.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/samples/embed/test.cs b/samples/embed/test.cs index 9e6f9228497..3283006d8b3 100644 --- a/samples/embed/test.cs +++ b/samples/embed/test.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -class Mono { +class MonoEmbed { [MethodImplAttribute(MethodImplOptions.InternalCall)] extern static string gimme(); diff --git a/samples/embed/teste.c b/samples/embed/teste.c index eb7131508c6..d67720a145f 100644 --- a/samples/embed/teste.c +++ b/samples/embed/teste.c @@ -63,7 +63,7 @@ main(int argc, char* argv[]) { * We add our special internal call, so that C# code * can call us back. */ - mono_add_internal_call ("Mono::gimme", gimme); + mono_add_internal_call ("MonoEmbed::gimme", gimme); main_args.domain=domain; main_args.file=file; |