Add cmd/puffs-gen-c/base-impl.h.

Also rename preamble.h to base-header.h.
This commit is contained in:
Nigel Tao committed 2017-06-01 11:02:43 +10:00
1 parent 1841ed8a36
commit 930ff53ff6
7 files changed
+67 -38

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
// After editing this file, run "go generate" in this directory.
#ifndef PUFFS_BASE_IMPL_H
#define PUFFS_BASE_IMPL_H
#define PUFFS_LOW_BITS(x, n) ((x) & ((1 << (n)) - 1))
#endif // PUFFS_BASE_IMPL_H