https://bugzilla.novell.com/show_bug.cgi?id=375188


           Summary: mono/metadata/mono-config.h is missing
                    G_BEGIN_DECLS/G_END_DECLS
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Consulting


In the above header file the function declarations are not surrounded by a
G_BEGIN_DECLS/G_END_DECLS declaration, which calls my linker to not find the
symbols. With the included solution, it works.

/*
 * mono-config.h
 *
 * Author: Paolo Molaro ([EMAIL PROTECTED])
 *
 * (C) 2002 Ximian, Inc.
 */
#ifndef __MONO_METADATA_CONFIG_H__
#define __MONO_METADATA_CONFIG_H__

G_BEGIN_DECLS

const char* mono_get_config_dir (void);
void        mono_set_config_dir (const char *dir);

const char* mono_get_machine_config (void);

void mono_config_parse        (const char *filename);
void mono_config_for_assembly (MonoImage *assembly);
void mono_config_parse_memory (const char *buffer);

const char* mono_config_string_for_assembly_file (const char *filename);

G_END_DECLS
#endif /* __MONO_METADATA_CONFIG_H__ */


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to