1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/wince/wincemain.c

20 lines
304 B
C
Raw Normal View History

#include <windows.h>
#include <stdio.h>
#include "wince.h"
extern int main(int, char**, char**);
int WINAPI
WinMain(HINSTANCE current, HINSTANCE prev, LPWSTR wcmd, int showcmd)
{
/* wchar_t -> char */
wce_SetCommandLine(wcmd);
wce_SetCurrentDir();
/* main. */
return main(0, NULL, NULL);
}