aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/blob.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-04-09 01:07:03 -0700
committerJordan Justen <[email protected]>2018-07-09 23:02:33 -0700
commit3a133223b3f10f19bbdab7a6f7da73e55a914185 (patch)
treef6b0cf809fd4fad898f48abee5ae1f6b95c42eb3 /src/compiler/blob.h
parent8e7ee7433e6475156bd1e7be81129985eb0eac01 (diff)
compiler/blob: Add blob_skip_bytes
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/blob.h')
-rw-r--r--src/compiler/blob.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/blob.h b/src/compiler/blob.h
index 2b975d45dfe..b56fa4b2fe0 100644
--- a/src/compiler/blob.h
+++ b/src/compiler/blob.h
@@ -295,6 +295,12 @@ void
blob_copy_bytes(struct blob_reader *blob, void *dest, size_t size);
/**
+ * Skip \size bytes within the blob.
+ */
+void
+blob_skip_bytes(struct blob_reader *blob, size_t size);
+
+/**
* Read a uint32_t from the current location, (and update the current location
* to just past this uint32_t).
*