PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

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