diff options
Diffstat (limited to 'psi/iref.h')
-rw-r--r-- | psi/iref.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -204,6 +204,7 @@ typedef enum { t_device, /* @ + value.pdevice */ t_oparray, /* @! # value.const_refs, uses size */ /* for index */ + t_pdfctx, /* @ value.pstruct */ t_next_index /*** first available index ***/ } ref_type; @@ -247,11 +248,12 @@ extern const byte ref_type_properties[1 << 6]; /* r_type_bits */ _REF_TYPE_USES_ACCESS | _REF_TYPE_USES_SIZE, /* t_string */\ _REF_TYPE_USES_ACCESS, /* t_device */\ _REF_TYPE_USES_SIZE, /* t_oparray */\ + 0, /* t_pdfctx */\ /*\ * The remaining types are the extended pseudo-types used by the\ * interpreter for operators. We need to fill up the table.\ */\ - _REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE, /*24*/\ + _REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE, /*24*/\ _REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE, /*28*/\ _REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE, /*32*/\ _REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE,_REF_TYPE_USES_SIZE, /*36*/\ @@ -280,7 +282,7 @@ extern const byte ref_type_properties[1 << 6]; /* r_type_bits */ "STRC","ASTR",\ "int ","real","font","mark","name","null",\ "oper","save","str ",\ - "devc","opry" + "devc","opry","pdfctx" /* * Define the type names for the type operator. */ @@ -290,7 +292,7 @@ extern const byte ref_type_properties[1 << 6]; /* r_type_bits */ 0,0,\ "integertype","realtype","fonttype","marktype","nametype","nulltype",\ "operatortype","savetype","stringtype",\ - "devicetype","operatortype" + "devicetype","operatortype","pdfctxtype" /* * Define the type names for obj_cvp (the == operator). We only need these * for types that obj_cvp and obj_cvs don't handle specially. @@ -301,7 +303,7 @@ extern const byte ref_type_properties[1 << 6]; /* r_type_bits */ 0,0,0,0,\ "-fontID-","-mark-",0,\ 0,0,"-save-","-string-",\ - "-device-",0 + "-device-",0,"-pdfcontext-" /* * The following factors affect the encoding of attributes: |