return err;
}
-OSErr
+OSStatus
create_apple_event_from_event_ref (event, num_params, names, types, result)
EventRef event;
UInt32 num_params;
EventParamType *types;
AppleEvent *result;
{
- OSErr err;
+ OSStatus err;
UInt32 i, size;
CFStringRef string;
CFDataRef data;
SELECT_TYPE *efds;
struct timeval *timeout;
{
- OSErr err;
+ OSStatus err;
#if TARGET_API_MAC_CARBON
EventTimeout timeout_sec =
(timeout
(filename)
Lisp_Object filename;
{
- OSErr status;
+ OSStatus status;
#ifdef MAC_OSX
FSRef fref;
#else
(filename)
Lisp_Object filename;
{
- OSErr status;
+ OSStatus status;
#ifdef MAC_OSX
FSRef fref;
#else
(filename, code)
Lisp_Object filename, code;
{
- OSErr status;
+ OSStatus status;
#ifdef MAC_OSX
FSRef fref;
#else
(filename, code)
Lisp_Object filename, code;
{
- OSErr status;
+ OSStatus status;
#ifdef MAC_OSX
FSRef fref;
#else
UnicodeMapping map;
CFIndex length;
UniChar *in_text, *buffer = NULL, *out_buf = NULL;
- OSErr err = noErr;
+ OSStatus err = noErr;
ByteCount out_read, out_size, out_len;
map.unicodeEncoding = CreateTextEncoding (kTextEncodingUnicodeDefault,
static Lisp_Object
mac_get_system_locale ()
{
- OSErr err;
+ OSStatus err;
LangCode lang;
RegionCode region;
LocaleRef locale;
struct timeval *timeout;
{
int r;
- OSErr err;
+ OSStatus err;
r = select (n, rfds, wfds, efds, timeout);
if (r != -1)
SELECT_TYPE *efds;
struct timeval *timeout;
{
- OSErr err;
+ OSStatus err;
int i, r;
EMACS_TIME select_timeout;