gsourceclosure.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. { Pointers to basic pascal types, inserted by h2pas conversion program.}
  2. Type
  3. PLongint = ^Longint;
  4. PSmallInt = ^SmallInt;
  5. PByte = ^Byte;
  6. PWord = ^Word;
  7. PDWord = ^DWord;
  8. PDouble = ^Double;
  9. {$PACKRECORDS C}
  10. { GObject - GLib Type, Object, Parameter and Signal Library
  11. Copyright (C) 2001 Red Hat, Inc.
  12. This library is free software; you can redistribute it and/or
  13. modify it under the terms of the GNU Lesser General Public
  14. License as published by the Free Software Foundation; either
  15. version 2 of the License, or (at your option) any later version.
  16. This library is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. Lesser General Public License for more details.
  20. You should have received a copy of the GNU Lesser General
  21. Public License along with this library; if not, write to the
  22. Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  23. Boston, MA 02111-1307, USA.
  24. }
  25. {$if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)}
  26. {$error "Only <glib-anObject.h> can be included directly."}
  27. {$endif}
  28. {$ifndef __G_SOURCECLOSURE_H__}
  29. {$include <gobject/gclosure.inc}
  30. procedure g_source_set_closure(source:PGSource; closure:PGClosure); cdecl; external gliblib;
  31. function g_io_channel_get_type:GType; cdecl; external gliblib;
  32. function g_io_condition_get_type:GType; cdecl; external gliblib;
  33. function G_TYPE_IO_CHANNEL : longint;
  34. { return type might be wrong }
  35. function G_TYPE_IO_CONDITION : longint;
  36. { return type might be wrong }
  37. {$endif}
  38. { __G_SOURCECLOSURE_H__ }
  39. function G_TYPE_IO_CHANNEL : longint;
  40. begin
  41. G_TYPE_IO_CHANNEL:=g_io_channel_get_type;
  42. end;
  43. function G_TYPE_IO_CONDITION : longint;
  44. begin
  45. G_TYPE_IO_CONDITION:=g_io_condition_get_type;
  46. end;