~ubuntu-branches/ubuntu/raring/glibmm2.4/raring

« back to all changes in this revision

Viewing changes to glib/glibmm/module.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-03-06 13:03:41 UTC
  • mfrom: (1.2.79)
  • Revision ID: package-import@ubuntu.com-20130306130341-02m9gb1ahbdcgbn5
Tags: 2.35.8-0ubuntu1
New upstream release based on GLib 2.35.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
/** @addtogroup glibmmEnums glibmm Enums and Flags */
35
35
 
36
 
/**
 
36
/** 
 
37
 * Flags passed to g_module_open().
 
38
 * Note that these flags are not supported on all platforms.
37
39
 * @ingroup glibmmEnums
38
40
 * @par Bitwise operators:
39
41
 * <tt>%ModuleFlags operator|(ModuleFlags, ModuleFlags)</tt><br>
46
48
 */
47
49
enum ModuleFlags
48
50
{
 
51
  /** specifies that symbols are only resolved when
 
52
   * needed. The default action is to bind all symbols when the module
 
53
   * is loaded.
 
54
   */
49
55
  MODULE_BIND_LAZY = 1 << 0,
 
56
  /** specifies that symbols in the module should
 
57
   * not be added to the global name space. The default action on most
 
58
   * platforms is to place symbols in the module in the global name space,
 
59
   * which may cause conflicts with existing symbols.
 
60
   */
50
61
  MODULE_BIND_LOCAL = 1 << 1,
 
62
  /** mask for all flags.
 
63
   */
51
64
  MODULE_BIND_MASK = 0x03
52
65
};
53
66
 
203
216
   * since the wrong module may be found.
204
217
   * 
205
218
   * For example, calling g_module_build_path() on a Linux system with a
206
 
   *  @a directory of <filename>/lib</filename> and a @a module_name of "mylibrary"
207
 
   * will return <filename>/lib/libmylibrary.so</filename>. On a Windows system,
208
 
   * using <filename>\Windows</filename> as the directory it will return
209
 
   * <filename>\Windows\mylibrary.dll</filename>.
 
219
   *  @a directory of <tt>/lib</tt> and a @a module_name of "mylibrary"
 
220
   * will return <tt>/lib/libmylibrary.so</tt>. On a Windows system,
 
221
   * using <tt>\\Windows</tt> as the directory it will return
 
222
   * <tt>\\Windows\\mylibrary.dll</tt>.
210
223
   * @param directory The directory where the module is. This can be <tt>0</tt>
211
224
   * or the empty string to indicate that the standard platform-specific
212
225
   * directories will be used, though that is not recommended.