diff options
| author | Miguel <m.i@gmx.at> | 2019-03-30 16:23:07 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-03-30 16:23:07 +0100 |
| commit | 0b63a8e4950e4628c36f812210cfdf40a28be034 (patch) | |
| tree | 1b1b7914f56752379310781ea01dc9c1192e946f /ffi/Bar.c | |
| parent | b45e37124d855bdf3365e8202559c45cf28e9d88 (diff) | |
added simple ffi example calling c from hask
Diffstat (limited to 'ffi/Bar.c')
| -rw-r--r-- | ffi/Bar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ffi/Bar.c b/ffi/Bar.c new file mode 100644 index 0000000..3bf5008 --- /dev/null +++ b/ffi/Bar.c @@ -0,0 +1,3 @@ +double bar(double v){ + return v+v*v; +} |
