newlib: update kos32sys.h
git-svn-id: svn://kolibrios.org@5552 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e6c8640959
commit
ae85cb2af8
@ -54,7 +54,7 @@ typedef struct
|
|||||||
|
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
void DefineButton(uint32_t x_w, uint32_t y_h, uint32_t id, uint32_t color)
|
void define_button(uint32_t x_w, uint32_t y_h, uint32_t id, uint32_t color)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
"int $0x40"
|
"int $0x40"
|
||||||
@ -63,9 +63,8 @@ void DefineButton(uint32_t x_w, uint32_t y_h, uint32_t id, uint32_t color)
|
|||||||
"c"(y_h),
|
"c"(y_h),
|
||||||
"d"(id),
|
"d"(id),
|
||||||
"S"(color));
|
"S"(color));
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
static inline void DefineButton(void) __attribute__ ((alias ("define_button")));
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
uint32_t get_skin_height(void)
|
uint32_t get_skin_height(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user