CFx SDK Documentation  2020SP3
FxFdtCodes.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 /* Byte Alignment 2 */
26 #pragma pack(push)
27 #pragma pack(2)
28 
29 /* Result types for the field restype in result buffer resbuf */
30 
31 #define RTNONE 5000 /* No result */
32 #define RTREAL 5001 /* Real */
33 #define RTPOINT 5002 /* 2D point */
34 #define RTSHORT 5003 /* Short Int */
35 #define RTANG 5004 /* Angle */
36 #define RTSTR 5005 /* String */
37 #define RTENAME 5006 /* Entity Name */
38 #define RTPICKS 5007 /* Selection Set (pick set) */
39 #define RTORINT 5008 /* Orientation */
40 #define RT3DPOINT 5009 /* 3D point */
41 #define RTLONG 5010 /* Long int */
42 #define RTCOLOR 5011 /* color value */
43 #define RTVOID 5014 /* Void */
44 #define RTLB 5016 /* List bottom */
45 #define RTLE 5017 /* List end */
46 #define RTDOTE 5018 /* Dotted pair (FLISP) */
47 #define RTNIL 5019 /* NIL (FLISP) */
48 #define RTDXF0 5020 /* DXF Code 0, for fdt_buildlist only */
49 #define RTT 5021 /* T atom (True) */
50 #define RTBINARY 5022 /* Chunk in XDATA */
51 #define RTFUNC 5023 /* Function */
52 
53 /* Status return codes of the FDT application */
54 
55 #define RTNORM 5100 /* Normal termination */
56 
57 #define RTMEMERR (-5000) /* Global memory error */
58 #define RTERROR (-5001) // Some other error
59 #define RTCAN (-5002) // User cancelled request -- Ctl-C
60 #define RTREJ (-5003) // Rejected request -- invalid
61 #define RTFAIL (-5004) // Link failure -- Lisp probably died
62 #define RTKWORD (-5005) // Keyword returned from getxxx() routine
63 #define RTINPUTTRUNCATED (-5008) // Input didn't all fit in the buffer
64 
65 /* Control code for FDT application registration */
66 #define RTLOADONCALL 0
67 #define RTPRELOAD 1
68 
69 /* Reset Byte Alignment */
70 #pragma pack( pop )
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #include "FxPragmaPop.h"
FxPragmaPop.h
FxPragmaPush.h