mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Rename some #ifndef WUFFS_BASE_HEADER_H guards
This commit is contained in:
1 parent
a1ed77cc35
commit
df96e48341
22 files changed
+87
-87
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user