The check length macro was exported for use by other libraries.

This was done to make buffer length checks common through out.
This commit is contained in:
Myrddin Dundragon 2018-01-05 23:32:16 -05:00
parent 8f006edf09
commit 4295886f25

View File

@ -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.