+ move scx_extract_region() and scx_enter_region() to xlib.h
This commit is contained in:
parent
9edc619ab1
commit
958d3901fc
|
@ -1,8 +1,5 @@
|
|||
#include "xlib.h"
|
||||
|
||||
#define scx_extract_region(x) (Region)S48_EXTRACT_POINTER(x)
|
||||
#define scx_enter_region(r) S48_ENTER_POINTER(r)
|
||||
|
||||
/*** create or destroy regions *************************************/
|
||||
|
||||
s48_value scx_Create_Region() {
|
||||
|
|
|
@ -128,6 +128,10 @@ extern s48_value s48_enter_enum_set(unsigned long v, s48_value type);
|
|||
|
||||
/* records */
|
||||
|
||||
#define scx_extract_region(x) (Region)S48_EXTRACT_POINTER(x)
|
||||
#define scx_enter_region(r) S48_ENTER_POINTER(r)
|
||||
|
||||
|
||||
extern s48_value scx_display;
|
||||
#define scx_extract_display(x) \
|
||||
(Display*)s48_extract_integer(s48_checked_record_ref(x, 0, scx_display))
|
||||
|
|
Loading…
Reference in New Issue