PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

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

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