summaryrefslogtreecommitdiff
path: root/palettes.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-05-10 16:01:38 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-05-10 16:01:38 +0200
commitad199eccf9334c8ee00f52686a0f401b82f402bc (patch)
tree8a1eb2b452d8fa453a9944e6c7db212a9414c04f /palettes.h
parentb66dc836db66e9769f5c7142104c80fda6dd386b (diff)
downloadpucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.tar.gz
pucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.tar.bz2
pucket-ad199eccf9334c8ee00f52686a0f401b82f402bc.zip
Use built-in palettes
This increases the binaries’ size, but we don’t have to parse the palette file every time.
Diffstat (limited to 'palettes.h')
-rw-r--r--palettes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/palettes.h b/palettes.h
index 77620bf..d479bd8 100644
--- a/palettes.h
+++ b/palettes.h
@@ -25,6 +25,7 @@
/* One palette */
typedef struct {
+ const char *name;
/* number of items allocated */
size_t allocated;
/* number of items in palette */