aboutsummaryrefslogtreecommitdiff
path: root/examples/OCaml-Kaleidoscope/Chapter4/bindings.c
blob: 053513bf0c0cd09c7a66768bad0cb4e11f254bc2 (plain)
1
2
3
4
5
6
7
#include <stdio.h>

/* putchard - putchar that takes a double and returns 0. */
extern double putchard(double X) {
  putchar((char)X);
  return 0;
}