mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Rename wuffs-unsupported-snapshot.h
This commit is contained in:
1 parent
1c75f7b748
commit
bc82e51371
16 files changed
+15
-15
No files matched your search
@@ -67,7 +67,7 @@ func genreleaseLang(wuffsRoot string, revision string, v cf.Version, lang string
|
|||||||
return "", nil, err
|
return "", nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
base := "unsupported-snapshot"
|
base := "wuffs-unsupported-snapshot"
|
||||||
if v.Major != 0 || v.Minor != 0 {
|
if v.Major != 0 || v.Minor != 0 {
|
||||||
base = fmt.Sprintf("wuffs-v%d.%d", v.Major, v.Minor)
|
base = fmt.Sprintf("wuffs-v%d.%d", v.Major, v.Minor)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C++ file.
|
// 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
|
#ifndef SRC_BUFFER_SIZE
|
||||||
#define SRC_BUFFER_SIZE (32 * 1024)
|
#define SRC_BUFFER_SIZE (32 * 1024)
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ uint64_t micros_since_start(struct timespec* now) {
|
|||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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
|
// 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
|
// pixels uncompressed. This is a limitation of this example program (which
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ for a C compiler $CC, such as clang or gcc.
|
|||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "wuffs/release/c/unsupported-snapshot.h"
|
#include "wuffs/release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|
||||||
#define DST_BUFFER_SIZE (1024 * 1024)
|
#define DST_BUFFER_SIZE (1024 * 1024)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// program to generate a stand-alone C file.
|
||||||
#include "../../release/c/unsupported-snapshot.h"
|
#include "../../release/c/wuffs-unsupported-snapshot.h"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <linux/prctl.h>
|
#include <linux/prctl.h>
|
||||||
|
|||||||
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../fuzzlib/fuzzlib.c"
|
||||||
|
|
||||||
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
||||||
|
|||||||
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../fuzzlib/fuzzlib.c"
|
||||||
|
|
||||||
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
||||||
|
|||||||
File renamed without changes.
@@ -69,7 +69,7 @@
|
|||||||
// If building this program in an environment that doesn't easily accomodate
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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__".
|
// The order matters here. Clang also defines "__GNUC__".
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
|
|||||||
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/deflate-gzip-zlib.c"
|
#include "../mimiclib/deflate-gzip-zlib.c"
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/deflate-gzip-zlib.c"
|
#include "../mimiclib/deflate-gzip-zlib.c"
|
||||||
|
|||||||
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/deflate-gzip-zlib.c"
|
#include "../mimiclib/deflate-gzip-zlib.c"
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/gif.c"
|
#include "../mimiclib/gif.c"
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/deflate-gzip-zlib.c"
|
#include "../mimiclib/deflate-gzip-zlib.c"
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
|
|
||||||
// ---------------- LZW Tests
|
// ---------------- LZW Tests
|
||||||
|
|||||||
+1
-1
@@ -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
|
// If building this program in an environment that doesn't easily accomodate
|
||||||
// relative includes, you can use the script/inline-c-relative-includes.go
|
// relative includes, you can use the script/inline-c-relative-includes.go
|
||||||
// program to generate a stand-alone C file.
|
// 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"
|
#include "../testlib/testlib.c"
|
||||||
#ifdef WUFFS_MIMIC
|
#ifdef WUFFS_MIMIC
|
||||||
#include "../mimiclib/deflate-gzip-zlib.c"
|
#include "../mimiclib/deflate-gzip-zlib.c"
|
||||||
|
|||||||
Reference in new issue
Block a user