diff options
author | IOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at> | 2017-08-16 20:29:13 +0200 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at> | 2017-08-16 20:29:13 +0200 |
commit | 75bedf4141806f1b12c07964ae633c6893a2efa6 (patch) | |
tree | 6d587365ab9082d07b46b719cc507e9bd667fdb1 /xm.c | |
parent | 5a088b89e9cce5dce3daf2aca5e8c2ed3dd59fff (diff) |
New upstream version 17.6
Diffstat (limited to 'xm.c')
-rw-r--r-- | xm.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -13,10 +13,12 @@ #define HAVE_XP 0 -#define XM_DATE "27-Dec-16" +#define XM_DATE "27-Jul-17" /* HISTORY: * + * 27-Jul-17: updated Init_libxm to pass s7 pointer in scheme. + * -------- * 27-Dec-16: changed XmNuserData type (in XtGetValues) to long long int. * -------- * 29-Oct-15: removed ->string. @@ -42,7 +44,7 @@ * 16-Oct: removed Gauche support. * 1-Oct: XtAppAddInput condition arg is a mess. * 10-Sep: XtAppAddInput condition arg is an int. - * 1-Sep-08: S7 support. + * 1-Sep-08: s7 support. * -------- * 26-Aug: removed WITH_GTK_AND_X11 switch. * 21-Apr: Gauche additions. @@ -16097,7 +16099,7 @@ static XtActionsRec *make_action_rec(int len, Xen larg2) Xen arg2; arg2 = Xen_copy_arg(larg2); gcloc = xm_protect(arg2); - act = (XtActionsRec *)calloc((unsigned int)len, sizeof(XtActionsRec)); + act = (XtActionsRec *)calloc((size_t)len, sizeof(XtActionsRec)); for (i = 0; i < len; i++, arg2 = Xen_cdr(arg2)) { Xen pair; @@ -25561,8 +25563,13 @@ static void define_Atoms(void) static bool xm_already_inited = false; +#if HAVE_SCHEME +void Init_libxm(s7_scheme *sc); +void Init_libxm(s7_scheme *sc) +#else void Init_libxm(void); void Init_libxm(void) +#endif { /* perhaps nicer here to check the features list for 'xm */ if (!xm_already_inited) @@ -25603,7 +25610,6 @@ void Init_libxm(void) xm_already_inited = true; } } - #else void Init_libxm(void); void Init_libxm(void) |