Skip to content

Commit

Permalink
gogensig:remove unuse config
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Nov 8, 2024
1 parent 349183b commit f3005c9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chore/gogensig/convert/deps/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ func findStdIncs(pkgDir string) (incs []string, err error) {
if err != nil {
return nil, err
}
return cfg.StdIncludes, nil
return cfg.Include, nil
}
2 changes: 1 addition & 1 deletion chore/gogensig/convert/testdata/stdint/llcppg.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stdIncludes":[
"include":[
"sys/_types/_int8_t.h",
"sys/_types/_int16_t.h",
"sys/_types/_int32_t.h",
Expand Down
2 changes: 1 addition & 1 deletion chore/gogensig/convert/testdata/stdio/llcppg.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stdIncludes":[
"include":[
"_stdio.h"
]
}
1 change: 0 additions & 1 deletion chore/llcppg/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type Config struct {
CFlags string `json:"cflags"`
Libs string `json:"libs"`
Include []string `json:"include"`
StdIncludes []string `json:"stdIncludes"`
Deps []string `json:"deps"`
TrimPrefixes []string `json:"trimPrefixes"`
Cplusplus bool `json:"cplusplus"`
Expand Down

0 comments on commit f3005c9

Please sign in to comment.