Gate wuffs_aux on WUFFS_BASE__HAVE_UNIQUE_PTR

This commit is contained in:
Nigel Tao committed 2021-03-11 10:52:49 +11:00
1 parent 1b3a87d831
commit f2ed33375c
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -107,14 +107,14 @@ func doGenrelease(args []string) error {
}
}
out.WriteString("#if defined(__cplusplus) && (__cplusplus >= 201103L)\n\n")
out.WriteString("#if defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)\n\n")
out.WriteString(data.AuxBaseHh)
out.WriteString("\n")
for _, f := range data.AuxNonBaseHhFiles {
out.WriteString(f)
out.WriteString("\n")
}
out.WriteString("#endif // defined(__cplusplus) && (__cplusplus >= 201103L)\n")
out.WriteString("#endif // defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)\n")
out.Write(grImplStartsHere)
out.WriteString("\n")
@@ -126,14 +126,14 @@ func doGenrelease(args []string) error {
}
}
out.WriteString("#if defined(__cplusplus) && (__cplusplus >= 201103L)\n\n")
out.WriteString("#if defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)\n\n")
out.WriteString(data.AuxBaseCc)
out.WriteString("\n")
for _, f := range data.AuxNonBaseCcFiles {
out.WriteString(f)
out.WriteString("\n")
}
out.WriteString("#endif // defined(__cplusplus) && (__cplusplus >= 201103L)\n\n")
out.WriteString("#endif // defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)\n\n")
out.Write(grImplEndsHere)
out.WriteString(grPragmaPop)
+4 -4
View File
@@ -9269,7 +9269,7 @@ struct wuffs_wbmp__decoder__struct {
#endif // defined(__cplusplus) || defined(WUFFS_IMPLEMENTATION)
#if defined(__cplusplus) && (__cplusplus >= 201103L)
#if defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)
// ---------------- Auxiliary - Base
@@ -9637,7 +9637,7 @@ DecodeJson(DecodeJsonCallbacks& callbacks,
} // namespace wuffs_aux
#endif // defined(__cplusplus) && (__cplusplus >= 201103L)
#endif // defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)
// WUFFS C HEADER ENDS HERE.
#ifdef WUFFS_IMPLEMENTATION
@@ -36299,7 +36299,7 @@ wuffs_wbmp__decoder__workbuf_len(
#endif // !defined(WUFFS_CONFIG__MODULES) || defined(WUFFS_CONFIG__MODULE__WBMP)
#if defined(__cplusplus) && (__cplusplus >= 201103L)
#if defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)
// ---------------- Auxiliary - Base
@@ -37611,7 +37611,7 @@ done:
#endif // !defined(WUFFS_CONFIG__MODULES) ||
// defined(WUFFS_CONFIG__MODULE__AUX__JSON)
#endif // defined(__cplusplus) && (__cplusplus >= 201103L)
#endif // defined(__cplusplus) && defined(WUFFS_BASE__HAVE_UNIQUE_PTR)
#endif // WUFFS_IMPLEMENTATION