blob: db28541461f92e827f93b7c1d5b6ea571907b97d [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#ifndef LPC_OBJECT_INFO_H_
2#define LPC_OBJECT_INFO_H_
3
4/* Definition of argument values for object_info()
5 */
6
7#include "configuration.h"
8
9/* Object flags */
10#define OI_ONCE_INTERACTIVE -1
11#define OI_RESET_STATE -2
12#define OI_WILL_CLEAN_UP -3
13#define OI_LAMBDA_REFERENCED -4
14#define OI_REPLACED -5
15
16/* Program flags */
17#define OI_NO_INHERIT -10
18#define OI_NO_CLONE -11
19#define OI_NO_SHADOW -12
20#define OI_SHARE_VARIABLES -13
Zesstraedb27342021-04-08 20:05:58 +020021#define OI_NO_LIGHTWEIGHT -14
MG Mud User88f12472016-06-24 23:31:02 +020022
23/* Swapping */
24#define OI_SWAPPED -20
25#define OI_PROG_SWAPPED -21
26#define OI_VAR_SWAPPED -22
27#define OI_SWAP_NUM -23
28
29/* Timing */
30#define OI_NEXT_RESET_TIME -30
31#define OI_NEXT_CLEANUP_TIME -31
32#define OI_LAST_REF_TIME -32
33
34/* Object list */
35#define OI_OBJECT_NEXT -40
36#define OI_OBJECT_PREV -41
37#define OI_OBJECT_POS -42
38
39/* Shadows */
40#define OI_SHADOW_NEXT -50
41#define OI_SHADOW_PREV -51
42#define OI_SHADOW_ALL -52
43
44/* Statistics about the object */
45#define OI_OBJECT_REFS -60
46#define OI_TICKS -61
47#define OI_GIGATICKS -62
48#define OI_DATA_SIZE -63
49#define OI_DATA_SIZE_TOTAL -64
50
51/* Statistics about the program */
52#define OI_PROG_REFS -70
53
54#define OI_NUM_FUNCTIONS -71
55#define OI_NUM_VARIABLES -72
56#define OI_NUM_STRINGS -73
57#define OI_NUM_INHERITED -74
58#define OI_NUM_INCLUDED -75
59
60#define OI_SIZE_FUNCTIONS -76
61#define OI_SIZE_VARIABLES -77
62#define OI_SIZE_STRINGS -78
63#define OI_SIZE_STRINGS_DATA -79
64#define OI_SIZE_STRINGS_DATA_TOTAL -80
65#define OI_SIZE_INHERITED -81
66#define OI_SIZE_INCLUDED -82
67
68#define OI_PROG_SIZE -83
69#define OI_PROG_SIZE_TOTAL -84
70
71#endif /* LPC_OBJECT_INFO_H_ */