summaryrefslogtreecommitdiffstats
path: root/src/winmain.c
blob: d1cc1e1ba41e37b578fd09de98172a8bd4adeb0f (plain)
1
2
3
4
5
6
7
8
9
10
#include <caml/callback.h>
#include <windows.h>

extern char **__argv;

int WINAPI WinMain(HINSTANCE h, HINSTANCE hPrevInstance,
                   LPSTR lpCmdLine, int nCmdShow) {
  caml_main(__argv);
  return 0;
}