Rename wuffs-unsupported-snapshot.h

This commit is contained in:
Nigel Tao committed 2018-07-21 09:20:10 +10:00
1 parent 1c75f7b748
commit bc82e51371
16 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ func genreleaseLang(wuffsRoot string, revision string, v cf.Version, lang string
return "", nil, err
}
base := "unsupported-snapshot"
base := "wuffs-unsupported-snapshot"
if v.Major != 0 || v.Minor != 0 {
base = fmt.Sprintf("wuffs-v%d.%d", v.Major, v.Minor)
}
+1 -1
View File
@@ -47,7 +47,7 @@ for a C++ compiler $CXX, such as clang++ or g++.
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C++ file.
#include "../../release/c/unsupported-snapshot.h"
#include "../../release/c/wuffs-unsupported-snapshot.h"
#ifndef SRC_BUFFER_SIZE
#define SRC_BUFFER_SIZE (32 * 1024)
+1 -1
View File
@@ -64,7 +64,7 @@ uint64_t micros_since_start(struct timespec* now) {
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../release/c/unsupported-snapshot.h"
#include "../../release/c/wuffs-unsupported-snapshot.h"
// Limit the input GIF image to (64 MiB - 1 byte) compressed and 4096 × 4096
// pixels uncompressed. This is a limitation of this example program (which
+1 -1
View File
@@ -32,7 +32,7 @@ for a C compiler $CC, such as clang or gcc.
#include <unistd.h>
#include "wuffs/release/c/unsupported-snapshot.h"
#include "wuffs/release/c/wuffs-unsupported-snapshot.h"
#define DST_BUFFER_SIZE (1024 * 1024)
+1 -1
View File
@@ -49,7 +49,7 @@ for a C compiler $CC, such as clang or gcc.
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../release/c/unsupported-snapshot.h"
#include "../../release/c/wuffs-unsupported-snapshot.h"
#ifdef __linux__
#include <linux/prctl.h>
+1 -1
View File
@@ -43,7 +43,7 @@ It should print "PASS", amongst other information, and exit(0).
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../fuzzlib/fuzzlib.c"
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
+1 -1
View File
@@ -43,7 +43,7 @@ It should print "PASS", amongst other information, and exit(0).
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../fuzzlib/fuzzlib.c"
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
File renamed without changes.
+1 -1
View File
@@ -69,7 +69,7 @@
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../release/c/unsupported-snapshot.h"
#include "../release/c/wuffs-unsupported-snapshot.h"
// The order matters here. Clang also defines "__GNUC__".
#if defined(__clang__)
+1 -1
View File
@@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/deflate-gzip-zlib.c"
+1 -1
View File
@@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/deflate-gzip-zlib.c"
+1 -1
View File
@@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/deflate-gzip-zlib.c"
+1 -1
View File
@@ -60,7 +60,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/gif.c"
+1 -1
View File
@@ -61,7 +61,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/deflate-gzip-zlib.c"
+1 -1
View File
@@ -59,7 +59,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
// ---------------- LZW Tests
+1 -1
View File
@@ -61,7 +61,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
// If building this program in an environment that doesn't easily accomodate
// relative includes, you can use the script/inline-c-relative-includes.go
// program to generate a stand-alone C file.
#include "../../../release/c/unsupported-snapshot.h"
#include "../../../release/c/wuffs-unsupported-snapshot.h"
#include "../testlib/testlib.c"
#ifdef WUFFS_MIMIC
#include "../mimiclib/deflate-gzip-zlib.c"