Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7562 | pavelyakov | 1 | dword StdCall(dword count, name, args) |
2 | { |
||
3 | dword tmp = 0; |
||
4 | if(!strcmp(name, "print")) |
||
5 | { |
||
6 | consoleInit(); |
||
7 | con_printf stdcall (DSDWORD[args]); |
||
8 | } |
||
9 | else if(!strcmp(name, "input")) |
||
10 | { |
||
11 | |||
12 | } |
||
13 | else if(!strcmp(name, "str")) |
||
14 | { |
||
15 | tmp = malloc(15); |
||
16 | itoa_(tmp,DSDWORD[args]); |
||
17 | return tmp; |
||
18 | } |
||
19 | else if(!strcmp(name, "exit")) |
||
20 | { |
||
21 | ExitProcess(); |
||
22 | } |
||
23 | return 0; |
||
24 | } |