gmodule.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // included by glib2.pas
  2. type
  3. PGModule = pointer;
  4. TGModuleFlags = Longint;
  5. TGModuleCheckInit = function (module:PGModule):Pgchar;cdecl;
  6. TGModuleUnload = procedure (module:PGModule);cdecl;
  7. Const
  8. G_MODULE_BIND_LAZY = 1 shl 0;
  9. G_MODULE_BIND_MASK = 1;
  10. function g_module_supported:gboolean;cdecl; external gmodulelib name 'g_module_supported';
  11. function g_module_open(file_name:Pgchar;
  12. flags:TGModuleFlags):PGModule;cdecl;external gmodulelib name 'g_module_open';
  13. function g_module_close(module:PGModule):gboolean;cdecl;external gmodulelib name 'g_module_close';
  14. procedure g_module_make_resident(module:PGModule);cdecl;external gmodulelib name 'g_module_make_resident';
  15. function g_module_error: Pgchar;cdecl;external gmodulelib name 'g_module_error';
  16. function g_module_symbol(module:PGModule;
  17. symbol_name:Pgchar;
  18. symbol:Pgpointer): gboolean;cdecl;external gmodulelib name 'g_module_symbol';
  19. function g_module_name(module:PGModule):Pgchar;cdecl;external gmodulelib name 'g_module_name';
  20. function g_module_build_path(directory:Pgchar;
  21. module_name:Pgchar):Pgchar;cdecl;external gmodulelib name 'g_module_build_path';
  22. // included by glib2.pas