mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-23 09:21:23 +03:00
cmm lib: prepare to autoimport
git-svn-id: svn://kolibrios.org@9701 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a5713e0f60
commit
b22d5729d4
@ -39,6 +39,7 @@ dword I_Path = #__path;
|
||||
|
||||
#define param __argv
|
||||
#define program_path __path
|
||||
#define ______INIT______ start
|
||||
#endif
|
||||
|
||||
#define bool int
|
||||
@ -665,11 +666,7 @@ inline fastcall dword GetStartTime()
|
||||
dword __generator; // random number generator init
|
||||
|
||||
//The initialization of the initial data before running
|
||||
//#ifdef __COFF__
|
||||
//void start()
|
||||
//#else
|
||||
:void ______INIT______()
|
||||
//#endif
|
||||
{
|
||||
skin_h = @GetSkinHeight();
|
||||
screen.w = @GetScreenWidth()+1;
|
||||
@ -680,8 +677,14 @@ dword __generator; // random number generator init
|
||||
#endif
|
||||
main();
|
||||
}
|
||||
|
||||
#ifdef __COFF__
|
||||
@ void start();
|
||||
#undef ______INIT______
|
||||
#else
|
||||
______STOP______:
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef INCLUDE_MEM_H
|
||||
#include "../lib/mem.h"
|
||||
|
Loading…
Reference in New Issue
Block a user