/src/wrappers/llvm/library/types/llvm_sequence_type.e

http://github.com/tybor/Liberty · Specman e · 31 lines · 10 code · 4 blank · 17 comment · 0 complexity · 2e367272501d25f4e900bda081c19eb8 MD5 · raw file

  1. deferred class LLVM_SEQUENCE_TYPE
  2. -- Anchestor of LLVM_ARRAY_TYPE, LLVM_POINTER_TYPE and LLVM_VECTOR_TYPE
  3. inherit LLVM_TYPE
  4. insert LLVM_TYPE_FACTORY
  5. feature {ANY}
  6. element_type: LLVM_TYPE
  7. -- The type of the elements of Current sequence.
  8. do
  9. Result:=type_wrapper(llvmget_element_type(handle))
  10. ensure Result/=Void
  11. end
  12. end -- class LLVM_SEQUENCE_TYPE
  13. -- Copyright (C) 2009-2017: Paolo Redaelli
  14. -- This file is part of LLVM wrappers for Liberty Eiffel.
  15. --
  16. -- This library is free software: you can redistribute it and/or modify
  17. -- it under the terms of the GNU Lesser General Public License as published by
  18. -- the Free Software Foundation, version 3 of the License.
  19. --
  20. -- Liberty Eiffel is distributed in the hope that it will be useful,
  21. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. -- GNU General Public License for more details.
  24. --
  25. -- You should have received a copy of the GNU General Public License
  26. -- along with Liberty Eiffel. If not, see <http://www.gnu.org/licenses/>.
  27. --