Rename some #ifndef WUFFS_BASE_HEADER_H guards

This commit is contained in:
Nigel Tao committed 2018-06-10 09:37:30 +10:00
1 parent a1ed77cc35
commit df96e48341
22 files changed
+87 -87

No files matched your search

+2 -2
View File
@@ -71,8 +71,8 @@ func (q *checker) optimizeNonSuspendible(n *a.Expr) error {
}
// optimizeCopyFromHistory32 checks if the code generator can call the Bounds
// Check Optimized version of CopyFromHistory32. As per cgen/base-impl.h, the
// conditions are:
// Check Optimized version of CopyFromHistory32. As per cgen's base-private.h,
// the conditions are:
// - distance > 0
// - distance <= (*ptr_ptr - start)
// - length <= (end - *ptr_ptr)
+1 -1
View File
@@ -91,7 +91,7 @@ func checkPackageName(s string) string {
s = strings.ToLower(s)
// Blacklist certain package names.
switch s {
case "base", "base_header", "base_impl", "config", "version":
case "base", "base_private_header", "base_public_header", "config", "version":
return ""
}
return s