projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r11764: 2007-07-22 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git]
/
tests
/
uffi-c-test.c
diff --git
a/tests/uffi-c-test.c
b/tests/uffi-c-test.c
index ee1ab3a3f6fd6ddd542c3b65a823223285dc2a54..483d3bd4d1953094d38beea24066b1eb67c569c0 100644
(file)
--- a/
tests/uffi-c-test.c
+++ b/
tests/uffi-c-test.c
@@
-8,12
+8,8
@@
*
* CVS Id: $Id$
*
*
* CVS Id: $Id$
*
- * This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+ * This file, part of UFFI, is Copyright (c) 2002
-2005
by Kevin M. Rosenberg
*
*
- * UFFI users are granted the rights to distribute and use this software
- * as governed by the terms of the Lisp Lesser GNU Public License
- * (http://opensource.franz.com/preamble.html), also known as the LLGPL.
-
* These variables are correct for GCC
* you'll need to modify these for other compilers
***************************************************************************/
* These variables are correct for GCC
* you'll need to modify these for other compilers
***************************************************************************/
@@
-119,6
+115,27
@@
cast_test_float ()
return y;
}
return y;
}
+DLLEXPORT
+long
+return_long_negative_one ()
+{
+ return -1;
+}
+
+DLLEXPORT
+int
+return_int_negative_one ()
+{
+ return -1;
+}
+
+DLLEXPORT
+short
+return_short_negative_one ()
+{
+ return -1;
+}
+
DLLEXPORT int fvar_addend = 3;
typedef struct {
DLLEXPORT int fvar_addend = 3;
typedef struct {