mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Delete some obsolete base-private comments
This commit is contained in:
1 parent
caa398441f
commit
a177e798f4
9 files changed
+36
-108
No files matched your search
+4
-13
@@ -1623,10 +1623,6 @@ wuffs_zlib__status wuffs_zlib__decoder__decode(wuffs_zlib__decoder* self,
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
static inline wuffs_base__empty_struct wuffs_base__return_empty_struct() {
|
||||
return ((wuffs_base__empty_struct){});
|
||||
}
|
||||
|
||||
#define WUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(x) (void)(x)
|
||||
|
||||
// WUFFS_BASE__MAGIC is a magic number to check that initializers are called.
|
||||
@@ -1677,18 +1673,9 @@ static inline wuffs_base__empty_struct wuffs_base__return_empty_struct() {
|
||||
#define WUFFS_BASE__UNLIKELY(expr) (expr)
|
||||
#endif
|
||||
|
||||
// Uncomment this #include for printf-debugging.
|
||||
// #include <stdio.h>
|
||||
|
||||
// The helpers below are functions, instead of macros, because their arguments
|
||||
// can be an expression that we shouldn't evaluate more than once.
|
||||
//
|
||||
// They are in base-impl.h and hence copy/pasted into every generated C file,
|
||||
// instead of being in some "base.c" file, since a design goal is that users of
|
||||
// the generated C code can often just #include a single .c file, such as
|
||||
// "gif.c", without having to additionally include or otherwise build and link
|
||||
// a "base.c" file.
|
||||
//
|
||||
// They are static, so that linking multiple wuffs .o files won't complain about
|
||||
// duplicate function definitions.
|
||||
//
|
||||
@@ -1696,6 +1683,10 @@ static inline wuffs_base__empty_struct wuffs_base__return_empty_struct() {
|
||||
// inline attribute to guide optimizations such as inlining, to avoid the
|
||||
// -Wunused-function warning, and we like to compile with -Wall -Werror.
|
||||
|
||||
static inline wuffs_base__empty_struct wuffs_base__return_empty_struct() {
|
||||
return ((wuffs_base__empty_struct){});
|
||||
}
|
||||
|
||||
// ---------------- Numeric Types
|
||||
|
||||
static inline uint16_t wuffs_base__load_u16be(uint8_t* p) {
|
||||
|
||||
Reference in new issue
Block a user