From d2257789e0c796a5a3b637e14dcbaf8a8c7880cc Mon Sep 17 00:00:00 2001
From: armatusmiles <akurotych@gmail.com>
Date: Sat, 26 Jan 2019 00:11:09 +0700
Subject: [PATCH] [+] dap_strn_equals function

---
 dap_test.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dap_test.h b/dap_test.h
index 929604f..0c34673 100755
--- a/dap_test.h
+++ b/dap_test.h
@@ -65,7 +65,7 @@
     fflush(stdout); }
 
 #define dap_str_equals(str1, str2) strcmp(str1, str2) == 0
-
+#define dap_strn_equals(str1, str2, count) strncmp(str1, str2, count) == 0
 
 /*
  How to use benchmark_xxx() functions:
-- 
GitLab