diff --git a/chore/llcppg/types/types.go b/chore/llcppg/types/types.go index 9d700881..6852ed1f 100644 --- a/chore/llcppg/types/types.go +++ b/chore/llcppg/types/types.go @@ -16,10 +16,6 @@ package types -import ( - "github.com/goplus/llgo/xtool/nm" -) - // Config represents a configuration for the llcppg tool. type Config struct { Name string `json:"name"` @@ -29,27 +25,6 @@ type Config struct { TrimPrefixes []string `json:"trimPrefixes"` } -type CPPSymbol struct { - DemangleName string - *nm.Symbol -} - -type ASTInformation struct { - Namespace string `json:"namespace"` - Class string `json:"class"` - Name string `json:"name"` - BaseClasses []string `json:"baseClasses"` - ReturnType string `json:"returnType"` - Location string `json:"location"` - Parameters []Parameter `json:"parameters"` - Symbol string `json:"symbol"` -} - -type Parameter struct { - Name string `json:"name"` - Type string `json:"type"` -} - type SymbolInfo struct { Mangle string `json:"mangle"` // C++ Symbol CPP string `json:"c++"` // C++ function name