mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Change mimic marker symbol from "!!" to "¿"
This commit is contained in:
1 parent
bb2e9e90b5
commit
ad40102c5a
14 files changed
+14
-14
No files matched your search
+1
-1
@@ -155,7 +155,7 @@ func findWuffsMimicCflags(filename string) ([]string, error) {
|
|||||||
s := bufio.NewScanner(f)
|
s := bufio.NewScanner(f)
|
||||||
for s.Scan() {
|
for s.Scan() {
|
||||||
t := s.Text()
|
t := s.Text()
|
||||||
const prefix = "// !! wuffs mimic cflags:"
|
const prefix = "// ¿ wuffs mimic cflags:"
|
||||||
if strings.HasPrefix(t, prefix) {
|
if strings.HasPrefix(t, prefix) {
|
||||||
t = strings.TrimSpace(t[len(prefix):])
|
t = strings.TrimSpace(t[len(prefix):])
|
||||||
return strings.Split(t, " "), nil
|
return strings.Split(t, " "), nil
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lgif
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lgif
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
// -lm and -lz (and nothing else). It's easiest to just link with the union of
|
// -lm and -lz (and nothing else). It's easiest to just link with the union of
|
||||||
// all of these libraries.
|
// all of these libraries.
|
||||||
//
|
//
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lm -lpng -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lm -lpng -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ the first "./a.out" with "./a.out -bench". Combine these changes with the
|
|||||||
"wuffs mimic cflags" to run the mimic benchmarks.
|
"wuffs mimic cflags" to run the mimic benchmarks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// !! wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
// ¿ wuffs mimic cflags: -DWUFFS_MIMIC -lz
|
||||||
|
|
||||||
// Wuffs ships as a "single file C library" or "header file library" as per
|
// Wuffs ships as a "single file C library" or "header file library" as per
|
||||||
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
|
||||||
|
|||||||
Reference in new issue
Block a user