[Mono-bugs] [Bug 375188] New: mono/metadata/mono-config.h is missing G_BEGIN_DECLS/ G_END_DECLS
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Mar 29 09:19:59 EDT 2008
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: lupus at novell.com
ReportedBy: mail at christian-stuempel.de
QAContact: mono-bugs at lists.ximian.com
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 (lupus at ximian.com)
*
* (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.
More information about the mono-bugs
mailing list