fixed math for SmallInts (coercion to Integers)
[k8lst.git] / src / primlib / ffi / lstpl_ffi.h
blobd22a23a85b911b442b2786eba33d6688739b07ee
1 /*
2 * The foreign function interface primitives of the LittleSmalltalk system
4 * ---------------------------------------------------------------
5 * Little Smalltalk, Version 5
7 * Copyright (C) 1987-2005 by Timothy A. Budd
8 * Copyright (C) 2007 by Charles R. Childers
9 * Copyright (C) 2005-2007 by Danny Reinhold
11 * ============================================================================
12 * This license applies to the virtual machine and to the initial image of
13 * the Little Smalltalk system and to all files in the Little Smalltalk
14 * packages.
15 * ============================================================================
16 * Permission is hereby granted, free of charge, to any person obtaining a copy
17 * of this software and associated documentation files (the "Software"), to deal
18 * in the Software without restriction, including without limitation the rights
19 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20 * copies of the Software, and to permit persons to whom the Software is
21 * furnished to do so, subject to the following conditions:
23 * The above copyright notice and this permission notice shall be included in
24 * all copies or substantial portions of the Software.
26 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
31 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
32 * DEALINGS IN THE SOFTWARE.
34 #ifndef LST_FFI_PRIMITIVES_H
35 #define LST_FFI_PRIMITIVES_H
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
42 extern void lstInitPrimitivesFFI ();
45 #ifdef __cplusplus
47 #endif
48 #endif