Fixed compilation of sample
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 4 Jun 2003 04:14:52 +0000 (04:14 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 4 Jun 2003 04:14:52 +0000 (04:14 -0000)
svn path=/trunk/mono/; revision=15093

samples/embed/test.cs
samples/embed/teste.c

index 9e6f9228497cb9535b54920974aa6ec412a118cc..3283006d8b313a1b210ee1f4a3fb65231e955723 100644 (file)
@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.CompilerServices;
 
-class Mono {
+class MonoEmbed {
        [MethodImplAttribute(MethodImplOptions.InternalCall)]
        extern static string gimme();
 
index eb7131508c6972870246938ca02a1219da041914..d67720a145f7194cf2d2049bc4642f340ed485a1 100644 (file)
@@ -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;