The R Project SVN R

Rev

Rev 83446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83446 Rev 87865
Line 60... Line 60...
60
	error(_("X11 routines cannot be accessed in module"));
60
	error(_("X11 routines cannot be accessed in module"));
61
    initialized = 1;
61
    initialized = 1;
62
    return initialized;
62
    return initialized;
63
}
63
}
64
 
64
 
-
 
65
/* used in src/main/platform.c */
65
attribute_hidden Rboolean R_access_X11(void)
66
attribute_hidden Rboolean R_access_X11(void)
66
{
67
{
67
    R_X11_Init();
68
    R_X11_Init();
68
    return (initialized > 0) ? (*ptr->access)() > 0 : FALSE;
69
    return (initialized > 0) ? (*ptr->access)() > 0 : FALSE;
69
}
70
}