File: main.c

package info (click to toggle)
ocaml-doc 3.10-1
  • links: PTS, VCS
  • area: non-free
  • in suites: lenny
  • size: 7,476 kB
  • ctags: 2,644
  • sloc: ml: 325; sh: 64; makefile: 34; ansic: 15
file content (10 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
                                                            /* -*- C -*- */
#include <stdio.h>
#include <caml/callback.h>
extern int fib(int);
int main(int argc, char** argv)
{
  caml_startup(argv);
  printf("fib(12) = %d\n", fib(12));
  return 0;
}