~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to src/nvim/eval_defs.h

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-02-20 22:41:32 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20160220224132-e24n8lh3yo5ylt23
Tags: upstream-0.1.2
ImportĀ upstreamĀ versionĀ 0.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
typedef struct dictitem_S dictitem_T;
103
103
 
104
 
#define DI_FLAGS_RO     1 /* "di_flags" value: read-only variable */
105
 
#define DI_FLAGS_RO_SBX 2 /* "di_flags" value: read-only in the sandbox */
106
 
#define DI_FLAGS_FIX    4 /* "di_flags" value: fixed variable, not allocated */
107
 
#define DI_FLAGS_LOCK   8 /* "di_flags" value: locked variable */
 
104
#define DI_FLAGS_RO     1   // "di_flags" value: read-only variable
 
105
#define DI_FLAGS_RO_SBX 2   // "di_flags" value: read-only in the sandbox
 
106
#define DI_FLAGS_FIX    4   // "di_flags" value: fixed: no :unlet or remove()
 
107
#define DI_FLAGS_LOCK   8   // "di_flags" value: locked variable
 
108
#define DI_FLAGS_ALLOC  16  // "di_flags" value: separately allocated
108
109
 
109
110
/*
110
111
 * Structure to hold info about a Dictionary.
118
119
  dict_T      *dv_copydict;     /* copied dict used by deepcopy() */
119
120
  dict_T      *dv_used_next;    /* next dict in used dicts list */
120
121
  dict_T      *dv_used_prev;    /* previous dict in used dicts list */
121
 
  int internal_refcount;        // number of internal references to
122
 
                                // prevent garbage collection
123
122
  QUEUE watchers;               // dictionary key watchers set by user code
124
123
};
125
124