/src/wrappers/gdk/library/gdk_atom.e

http://github.com/tybor/Liberty · Specman e · 45 lines · 29 code · 10 blank · 6 comment · 2 complexity · 1f8597680c47b5e8f14c5c4aa4d8f42f MD5 · raw file

  1. indexing
  2. description: "GDK_ATOM - An opaque type representing a string as an index into a table of strings on the X server."
  3. copyright: "[
  4. Copyright (C) 2008 eiffel-libraries team, GTK+ team
  5. This library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU Lesser General Public License
  7. as published by the Free Software Foundation; either version 2.1 of
  8. the License, or (at your option) any later version.
  9. This library is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. Lesser General Public License for more details.
  13. You should have received a copy of the GNU Lesser General Public
  14. License along with this library; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  16. 02110-1301 USA
  17. ]"
  18. -- TODO fix this class
  19. expanded class GDK_ATOM
  20. -- An opaque type representing a string as an index into a table s on the X server.
  21. insert WRAPPER
  22. -- Note for the developers of Eiffel Wrapper Libraries Collection (EWLC):
  23. -- here I use only the plain wrapper because memory handling in C is
  24. -- automatic and it does not matter how an atom is actually implemented.
  25. creation initialize
  26. feature
  27. initialize is
  28. -- Empty initialization
  29. do
  30. end
  31. struct_size: INTEGER is
  32. external "C inline use <gdk/gdk.h>"
  33. alias "sizeof(GdkAtom)"
  34. end
  35. end -- class GDK_ATOM