c/clang/symg:refine config usage
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/goplus/llgo/c/cjson"
|
||||
)
|
||||
|
||||
// Config represents a configuration for the llcppg tool.
|
||||
type Config struct {
|
||||
Name string `json:"name"`
|
||||
@@ -26,6 +30,11 @@ type Config struct {
|
||||
JSONPath string `json:"jsonPath"`
|
||||
}
|
||||
|
||||
type Conf struct {
|
||||
*cjson.JSON
|
||||
*Config
|
||||
}
|
||||
|
||||
type CPPSymbol struct {
|
||||
Symbol string `json:"symbol"`
|
||||
Type string `json:"type"`
|
||||
|
||||
Reference in New Issue
Block a user