+ move scx_extract_region() and scx_enter_region() to xlib.h

This commit is contained in:
eknauel 2003-10-23 17:28:36 +00:00
parent 9edc619ab1
commit 958d3901fc
2 changed files with 4 additions and 3 deletions

View File

@ -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() {

View File

@ -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))