Codemesh Runtime v3 C++ API Reference
3.9.205
Builds
codegen
junc++ion-4.8.430
cpp
v3
include
xmog-config-irix.h
1
//
2
// Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3
//
4
5
6
#include <string.h>
7
#include <stdlib.h>
8
#include <stddef.h>
9
10
#define XMOG_OS_CODE "irix"
11
12
13
14
#if defined(__GNUC__)
15
# include "xmog-config-irix-gcc.h"
16
#elif defined(__sgi) || defined(sgi)
17
# include "xmog-config-irix-mipspro.h"
18
#endif
19
20
21
// the return type of the function type that is passed to thread spawn factory
22
typedef
void
* XMOG_THREAD_FUNC_RETURN;
23
// the macro declaring a variable of thread func return type
24
#define XMOG_THREAD_FUNC_RETURN_DECL(x) void * x = NULL;
25
// the macro declaring a thread func return statement
26
#define XMOG_THREAD_FUNC_RETURN_STMT(x) return (void*)(x);
27
28
29
// it seems all IRIX compilers understand __cdecl
30
#define XMOG_CALLING_CONVENTION __cdecl
31
32
33
// the method we use for tolower
34
#define XMOG_TOLOWER ACE_OS::ace_tolower
35
36
37
#define XMOG_FILE_SEPARATOR '/'
38
#define XMOG_FILE_SEPARATOR_STR "/"
39
#define XMOG_PATH_SEPARATOR ':'
40
#define XMOG_PATH_SEPARATOR_STR ":"
41
#define LINE_SEP "\n"
42
#define ENV_SEARCH_PATH "LD_LIBRARY_PATH"
43
#define JVM_NAME "libjvm.so"
44
#if defined(__mips__) || defined(__mips) || defined(__MIPS__) || defined(__MIPS_ISA2__) || defined(__MIPS_ISA3__) || defined(__MIPS_ISA4__)
45
# define XMOG_JVM_ARCH "mips"
46
#else
47
# define XMOG_JVM_ARCH ""
48
#endif
49
#if defined(__LP64) || defined(_LP64) || defined(LP64)
50
# define XMOG_NEW_DIFF_TYPE jlong
51
#else
52
# define XMOG_NEW_DIFF_TYPE jint
53
#endif
54
Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.