summaryrefslogtreecommitdiff
path: root/include/gutenprint/vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gutenprint/vars.h')
-rw-r--r--include/gutenprint/vars.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gutenprint/vars.h b/include/gutenprint/vars.h
index aacdbc1..de6eb25 100644
--- a/include/gutenprint/vars.h
+++ b/include/gutenprint/vars.h
@@ -129,6 +129,9 @@ typedef struct
const void *data; /*!< Raw data. */
} stp_raw_t;
+#define STP_RAW(x) { sizeof((x)), (x) }
+#define STP_RAW_STRING(x) { sizeof((x)) - 1, (x) }
+
/** double_bound (range) parameter. */
typedef struct
{
@@ -1380,5 +1383,5 @@ stp_fill_parameter_settings(stp_parameter_t *desc,
#endif /* GUTENPRINT_VARS_H */
/*
- * End of "$Id: vars.h,v 1.3 2006/04/17 02:06:18 rlk Exp $".
+ * End of "$Id: vars.h,v 1.3.8.1 2007/03/02 12:01:14 rlk Exp $".
*/