File: example.c

package info (click to toggle)
ruby-ffi-compiler 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 164 kB
  • sloc: ruby: 580; ansic: 16; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "example.h"

RBFFI_EXPORT long
example(void)
{
  return 0xdeadbeef;
}

RBFFI_EXPORT int 
foo(struct Example_Foo *foo)
{
  return 0;
}

RBFFI_EXPORT int 
bar(struct Example_Bar bar, struct Example_Foo *foo)
{
  return 0;
}