/src/tools/wrappers-generator/c_function_type.e

http://github.com/tybor/Liberty · Specman e · 39 lines · 17 code · 8 blank · 14 comment · 0 complexity · 4e8b0abccb6550231bc82cc6b1034223 MD5 · raw file

  1. class C_FUNCTION_TYPE
  2. -- A "FunctionType" node in an XML file made by gccxml which represents a function type wrapped as a POINTER
  3. -- Th node usually has a "returns" attribute, currently unused.
  4. inherit
  5. C_TYPE
  6. IDENTIFIED_NODE
  7. STORABLE_NODE
  8. create {GCCXML_TREE}
  9. make
  10. feature {ANY}
  11. store
  12. do
  13. types.fast_put(Current, id)
  14. end
  15. wrapper_type: STRING "POINTER"
  16. is_fundamental: BOOLEAN False
  17. is_void: BOOLEAN False
  18. has_wrapper: BOOLEAN True
  19. -- invariant name.is_equal(once U"FunctionType")
  20. end -- class C_FUNCTION_TYPE
  21. -- Copyright (C) 2008-2017: Paolo Redaelli
  22. -- wrappers-generator is free software: you can redistribute it and/or modify it
  23. -- under the terms of the GNU General Public License as publhed by the Free
  24. -- Software Foundation, either version 2 of the License, or (at your option)
  25. -- any later version.
  26. -- wrappers-generator is distributed in the hope that it will be useful, but
  27. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  28. -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  29. -- more details.
  30. -- You should have received a copy of the GNU General Public License along with
  31. -- th program. If not, see <http://www.gnu.org/licenses/>.