mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Gate wuffs_aux on WUFFS_BASE__HAVE_UNIQUE_PTR
This commit is contained in:
1 parent
1b3a87d831
commit
f2ed33375c
2 files changed
+8
-8
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user