PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/tybor/Liberty
Specman e | 38 lines | 16 code | 7 blank | 15 comment | 0 complexity | 2edcfebc9ac0b3331f7e31f2b10e5d2d MD5 | raw file
 1class LLVM_LABEL_TYPE
 2
 3inherit LLVM_TYPE
 4
 5create {ANY} make, in_context
 6create {WRAPPER, WRAPPER_HANDLER} from_external_pointer
 7
 8feature {ANY} -- Creation
 9   make
10      do
11         handle:=llvmlabel_type
12      end
13
14   in_context (a_context: LLVM_CONTEXT)
15      require a_context/=Void
16      do
17         handle:=llvmlabel_type_in_context(a_context.handle)
18      end
19
20invariant type_kind.is_label_type_kind
21end -- class LLVM_LABEL_TYPE
22
23-- Copyright (C) 2009-2017: Paolo Redaelli
24
25-- This file is part of LLVM wrappers for Liberty Eiffel.
26--
27-- This library is free software: you can redistribute it and/or modify
28-- it under the terms of the GNU Lesser General Public License as published by
29-- the Free Software Foundation, version 3 of the License.
30--
31-- Liberty Eiffel is distributed in the hope that it will be useful,
32-- but WITHOUT ANY WARRANTY; without even the implied warranty of
33-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34-- GNU General Public License for more details.
35--
36-- You should have received a copy of the GNU General Public License
37-- along with Liberty Eiffel.  If not, see <http://www.gnu.org/licenses/>.
38--