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