From 4295886f255e17da7f96d2e214fb186e30f88d69 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Fri, 5 Jan 2018 23:32:16 -0500 Subject: [PATCH] The check length macro was exported for use by other libraries. This was done to make buffer length checks common through out. --- src/macros.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/macros.rs b/src/macros.rs index fb981ee..c007cea 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -6,6 +6,7 @@ /// Handles the testing of a buffers size and returning the correct /// error if a buffer does not have the correct amount of bytes. +#[macro_export] macro_rules! check_length { // This tests for the buffers length being less than the min value.