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

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

http://github.com/tybor/Liberty
Specman e | 32 lines | 11 code | 3 blank | 18 comment | 0 complexity | 45a6732ee868e13c5ca8adfe10aae459 MD5 | raw file
 1deferred class LLVM_POINTER_TYPES
 2-- Commodity queries for commonly used integer types: boolean (1bit),
 3-- 8,16,32,64 bits and commodoty creation factory-like features
 4obsolete "use LLVM_C_TYPES"
 5
 6insert ANY undefine copy, is_equal end
 7feature {ANY} --
 8   pointer(a_type: LLVM_TYPE): LLVM_POINTER_TYPE
 9         -- The type of a pointer to `a_type'; i.e. pointer(int_32) represents "int*".
10      require a_type/=Void
11      do
12         create Result.make(a_type)
13      ensure Result/=Void
14      end
15end -- class LLVM_POINTER_TYPES
16
17-- Copyright (C) 2009-2017: ,2010,2013 Paolo Redaelli - 2013 Cyril Adrian 
18
19-- This file is part of LLVM wrappers for Liberty Eiffel.
20--
21-- This library is free software: you can redistribute it and/or modify
22-- it under the terms of the GNU Lesser General Public License as published by
23-- the Free Software Foundation, version 3 of the License.
24--
25-- Liberty Eiffel is distributed in the hope that it will be useful,
26-- but WITHOUT ANY WARRANTY; without even the implied warranty of
27-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28-- GNU General Public License for more details.
29--
30-- You should have received a copy of the GNU General Public License
31-- along with Liberty Eiffel.  If not, see <http://www.gnu.org/licenses/>.
32--