projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10381: 2005-04-04 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..1e9ef0b691e29b1e968ef976fdd2102b82fe14fe 100644
(file)
--- a/
tests/uffi-c-test.c
+++ b/
tests/uffi-c-test.c
@@
-119,6
+119,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 {