Back to index

plt-scheme  4.2.1
ffitarget.h
Go to the documentation of this file.
00001 /* -----------------------------------------------------------------*-C-*-
00002    ffitarget.h - Copyright (c) 1996-2003  Red Hat, Inc.
00003    Target configuration macros for SuperH.
00004 
00005    Permission is hereby granted, free of charge, to any person obtaining
00006    a copy of this software and associated documentation files (the
00007    ``Software''), to deal in the Software without restriction, including
00008    without limitation the rights to use, copy, modify, merge, publish,
00009    distribute, sublicense, and/or sell copies of the Software, and to
00010    permit persons to whom the Software is furnished to do so, subject to
00011    the following conditions:
00012 
00013    The above copyright notice and this permission notice shall be included
00014    in all copies or substantial portions of the Software.
00015 
00016    THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
00017    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00018    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00019    IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR
00020    OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00021    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00022    OTHER DEALINGS IN THE SOFTWARE.
00023 
00024    ----------------------------------------------------------------------- */
00025 
00026 #ifndef LIBFFI_TARGET_H
00027 #define LIBFFI_TARGET_H
00028 
00029 /* ---- Generic type definitions ----------------------------------------- */
00030 
00031 #ifndef LIBFFI_ASM
00032 typedef unsigned long          ffi_arg;
00033 typedef signed long            ffi_sarg;
00034 
00035 typedef enum ffi_abi {
00036   FFI_FIRST_ABI = 0,
00037   FFI_SYSV,
00038   FFI_DEFAULT_ABI = FFI_SYSV,
00039   FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
00040 } ffi_abi;
00041 #endif
00042 
00043 #define FFI_CLOSURES 1
00044 #define FFI_TRAMPOLINE_SIZE 16
00045 #define FFI_NATIVE_RAW_API 0
00046 
00047 #endif
00048