mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
Rename PUFFS to WUFFS, part 3 of N
This commit is contained in:
1 parent
0cea46531b
commit
7a6a598d1e
17 files changed
+4
-4
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -214,7 +214,7 @@ func (g *gen) genHeader(b *buffer) error {
|
|||||||
includeGuard := "PUFFS_" + strings.ToUpper(g.pkgName) + "_H"
|
includeGuard := "PUFFS_" + strings.ToUpper(g.pkgName) + "_H"
|
||||||
b.printf("#ifndef %s\n#define %s\n\n", includeGuard, includeGuard)
|
b.printf("#ifndef %s\n#define %s\n\n", includeGuard, includeGuard)
|
||||||
|
|
||||||
b.printf("// Code generated by puffs-c. DO NOT EDIT.\n\n")
|
b.printf("// Code generated by wuffs-c. DO NOT EDIT.\n\n")
|
||||||
b.writes(baseHeader)
|
b.writes(baseHeader)
|
||||||
b.writes("\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n")
|
b.writes("\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n\n")
|
||||||
|
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -12,14 +12,14 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// puffs-c handles the C language specific parts of the puffs tool.
|
// wuffs-c handles the C language specific parts of the wuffs tool.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/google/wuffs/cmd/puffs-c/internal/cgen"
|
"github.com/google/wuffs/cmd/wuffs-c/internal/cgen"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -72,7 +72,7 @@ func doBenchTest(args []string, bench bool) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func doBenchTest1(filename string, bench bool, ccompilers string, focus string, mimic bool, reps int) (failed bool, err error) {
|
func doBenchTest1(filename string, bench bool, ccompilers string, focus string, mimic bool, reps int) (failed bool, err error) {
|
||||||
workDir, err := ioutil.TempDir("", "puffs-c")
|
workDir, err := ioutil.TempDir("", "wuffs-c")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user