summary refs log tree commit diff stats
path: root/lib/nimbase.h
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-06-05 12:03:20 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-06-05 12:03:20 +0800
commit64b0485207f428ce3941061b1c165ec8004b2c96 (patch)
tree18e62d0d19e48c9abc9f4fe2cc9996539b824247 /lib/nimbase.h
parent796d939c6cae9b8571a56bd12272be521e8f6fdb (diff)
downloadNim-64b0485207f428ce3941061b1c165ec8004b2c96.tar.gz
fix types of ansi_c/sysio to more closely match C ABI
also fixes some instances of using C library functions when there are
nim alternatives available
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r--lib/nimbase.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index f531f3c49..d5a551352 100644
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -347,9 +347,6 @@ static N_INLINE(NI32, float32ToInt32)(float x) {
 
 #define float64ToInt64(x) ((NI64) (x))
 
-#define zeroMem(a, size) memset(a, 0, size)
-#define equalMem(a, b, size) (memcmp(a, b, size) == 0)
-
 #define STRING_LITERAL(name, str, length) \
   static const struct {                   \
     TGenericSeq Sup;                      \