/usr/include/scilab/ExternalObjects.h is in scilab-include 6.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | /*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the CeCILL v.2.1.
* This file was originally licensed under the terms of the CeCILL v2.1,
* and continues to be available under such terms.
* For more information, see the COPYING file which you should have received
* along with this program.
*
*/
/*--------------------------------------------------------------------------*/
#ifndef __EXTERNALOBJECTS_H__
#define __EXTERNALOBJECTS_H__
#define __USE_DEPRECATED_STACK_FUNCTIONS__
//#define EODEBUG
#define FIELDS_LENGTH 3
#define VOID_OBJECT -1
#define EXTERNAL_INVALID -1
#define EXTERNAL_OBJECT 0
#define EXTERNAL_CLASS 1
#define EXTERNAL_VOID 2
#define EXTERNAL_ENV_ID_POSITION 2
#define EXTERNAL_OBJ_ID_POSITION 3
#define SAE_NOTHING 0
#define SAE_NULL 1
#define SAE_SINGLE_DOUBLE 2
#define SAE_ROW_DOUBLE 3
#define SAE_MAT_DOUBLE 4
#define SAE_SINGLE_STRING 5
#define SAE_ROW_STRING 6
#define SAE_MAT_STRING 7
#define SAE_SINGLE_BOOLEAN 8
#define SAE_ROW_BOOLEAN 9
#define SAE_MAT_BOOLEAN 10
#define SAE_SINGLE_CHAR 11
#define SAE_ROW_CHAR 12
#define SAE_MAT_CHAR 13
#define SAE_SINGLE_UCHAR 14
#define SAE_ROW_UCHAR 15
#define SAE_MAT_UCHAR 16
#define SAE_SINGLE_SHORT 17
#define SAE_ROW_SHORT 18
#define SAE_MAT_SHORT 19
#define SAE_SINGLE_USHORT 20
#define SAE_ROW_USHORT 21
#define SAE_MAT_USHORT 22
#define SAE_SINGLE_INT 23
#define SAE_ROW_INT 24
#define SAE_MAT_INT 25
#define SAE_SINGLE_UINT 26
#define SAE_ROW_UINT 27
#define SAE_MAT_UINT 28
#define SAE_SINGLE_LONG 29
#define SAE_ROW_LONG 30
#define SAE_MAT_LONG 31
#define SAE_SINGLE_ULONG 32
#define SAE_ROW_ULONG 33
#define SAE_MAT_ULONG 34
#define SAE_SINGLE_FLOAT 35
#define SAE_ROW_FLOAT 36
#define SAE_MAT_FLOAT 37
#define SAE_SINGLE_COMPLEX 38
#define SAE_ROW_COMPLEX 39
#define SAE_MAT_COMPLEX 40
typedef enum { Nothing = SAE_NOTHING, Null = SAE_NULL,
SingleDouble = SAE_SINGLE_DOUBLE, RowDouble = SAE_ROW_DOUBLE, MatDouble = SAE_MAT_DOUBLE,
SingleString = SAE_SINGLE_STRING, RowString = SAE_ROW_STRING, MatString = SAE_MAT_STRING,
SingleBoolean = SAE_SINGLE_BOOLEAN, RowBoolean = SAE_ROW_BOOLEAN, MatBoolean = SAE_MAT_BOOLEAN,
SingleChar = SAE_SINGLE_CHAR, RowChar = SAE_ROW_CHAR, MatChar = SAE_MAT_CHAR,
SingleUChar = SAE_SINGLE_UCHAR, RowUChar = SAE_ROW_UCHAR, MatUChar = SAE_MAT_UCHAR,
SingleShort = SAE_SINGLE_SHORT, RowShort = SAE_ROW_SHORT, MatShort = SAE_MAT_SHORT,
SingleUShort = SAE_SINGLE_USHORT, RowUShort = SAE_ROW_USHORT, MatUShort = SAE_MAT_USHORT,
SingleInt = SAE_SINGLE_INT, RowInt = SAE_ROW_INT, MatInt = SAE_MAT_INT,
SingleUInt = SAE_SINGLE_UINT, RowUInt = SAE_ROW_UINT, MatUInt = SAE_MAT_UINT,
SingleLong = SAE_SINGLE_LONG, RowLong = SAE_ROW_LONG, MatLong = SAE_MAT_LONG,
SingleULong = SAE_SINGLE_ULONG, RowULong = SAE_ROW_ULONG, MatULong = SAE_MAT_ULONG,
SingleFloat = SAE_SINGLE_FLOAT, RowFloat = SAE_ROW_FLOAT, MatFloat = SAE_MAT_FLOAT,
SingleComplex = SAE_SINGLE_COMPLEX, RowComplex = SAE_ROW_COMPLEX, MatComplex = SAE_MAT_COMPLEX
} VariableType;
#define SAE_TRANSP 0
#define SAE_ADD 1
#define SAE_SUB 2
#define SAE_MUL 3
#define SAE_DIV 4
#define SAE_BACKSLASH 5
#define SAE_POW 6
#define SAE_DOT_MUL 7
#define SAE_DOT_DIV 8
#define SAE_DOT_BACKSLASH 9
#define SAE_DOT_MUL_DOT 10
#define SAE_DOT_DIV_DOT 11
#define SAE_DOT_BACKSLASH_DOT 12
#define SAE_EQ 13
#define SAE_NEQ 14
#define SAE_OR 15
#define SAE_AND 16
#define SAE_DOT_POW 17
#define SAE_NOT 18
#define SAE_DOT_TRANSP 19
#define SAE_LT 20
#define SAE_GT 21
#define SAE_LEQ 22
#define SAE_GEQ 23
typedef enum { Transp = SAE_TRANSP, Add = SAE_ADD, Sub = SAE_SUB, Mul = SAE_MUL, Div = SAE_DIV, Backslash = SAE_BACKSLASH,
Pow = SAE_POW, DotMul = SAE_DOT_MUL, DotDiv = SAE_DOT_DIV, DotBackslash = SAE_DOT_BACKSLASH,
DotMulDot = SAE_DOT_MUL_DOT, DotDivDot = SAE_DOT_DIV_DOT, DotBackslashDot = SAE_DOT_BACKSLASH_DOT, Eq = SAE_EQ,
Neq = SAE_NEQ, Or = SAE_OR, And = SAE_AND, DotPow = SAE_DOT_POW, Not = SAE_NOT, DotTransp = SAE_DOT_TRANSP,
Lt = SAE_LT, Gt = SAE_GT, Leq = SAE_LEQ, Geq = SAE_GEQ
} OperatorsType;
#endif //__EXTERNALOBJECTS_H__
|