libc,obj:

- changed wrapper names

git-svn-id: svn://kolibrios.org@9094 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2021-07-27 00:20:54 +00:00
parent e10c8c25cc
commit 52dd2872bf
7 changed files with 46 additions and 34 deletions

View File

@@ -314,6 +314,20 @@ void _ksys_delay(uint32_t time){
);
}
/*=============== Function 7 - draw image in the window. ===============*/
static inline
void _ksys_draw_bitmap(void *bitmap, int x, int y, int w, int h)
{
asm_inline(
"int $0x40"
::"a"(7), "b"(bitmap),
"c"((w << 16) | h),
"d"((x << 16) | y)
:"memory"
);
}
/*=============== Function 8 - define/delete the button. ===============*/
static inline
@@ -1404,8 +1418,6 @@ int _ksys_file_rename(const char *name, const char *new_name)
/* ######### Old names of functions and structures. Do not use again! ##########*/
#define ksys_coff_etable_t ksys_dll_t
#define ksys_proc_table_t ksys_thread_t
#define _ksys_get_event _ksys_wait_event
#endif // _KSYS_H_