/src/wrappers/llvm/library/values/llvm_constant_vector.e

http://github.com/tybor/Liberty · Specman e · 28 lines · 11 code · 2 blank · 15 comment · 0 complexity · 27b4f8adf0c10a366190158edd7acd97 MD5 · raw file

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