Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libxslt/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.20

require (
github.com/goplus/lib v0.2.0
github.com/goplus/llpkg/libxml2 v1.0.1
github.com/goplus/llpkg/libxml2 v1.0.2
)
4 changes: 2 additions & 2 deletions libxslt/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/goplus/lib v0.2.0 h1:AjqkN1XK5H23wZMMlpaUYAMCDAdSBQ2NMFrLtSh7W4g=
github.com/goplus/lib v0.2.0/go.mod h1:SgJv3oPqLLHCu0gcL46ejOP3x7/2ry2Jtxu7ta32kp0=
github.com/goplus/llpkg/libxml2 v1.0.1 h1:Eg9i7QSr5zJbawNoN/hSxt6/LUoZY8wF2VvlNxcn1Yc=
github.com/goplus/llpkg/libxml2 v1.0.1/go.mod h1:5YXQ8OhzQeH+udVb1NPEryxH7hAiJ75p6+f5QBy7BpM=
github.com/goplus/llpkg/libxml2 v1.0.2 h1:6Z8/lZwKBCweKA1q+U2ESMVFUiZWJiiOArAJ0PR7T4g=
github.com/goplus/llpkg/libxml2 v1.0.2/go.mod h1:5YXQ8OhzQeH+udVb1NPEryxH7hAiJ75p6+f5QBy7BpM=
2 changes: 1 addition & 1 deletion libxslt/llcppg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"trimPrefixes": ["XSLT_","xslt"],
"cplusplus": false,
"deps": ["c/os","github.com/goplus/llpkg/libxml2@v1.0.1"],
"deps": ["c/os","github.com/goplus/llpkg/libxml2@v1.0.2"],
"symMap":{
"xsltSetCtxtLocaleHandlers":"-"
}
Expand Down
18 changes: 9 additions & 9 deletions libxslt/xsltInternals.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const MAX_SORT = 15

type X_xsltRuntimeExtra struct {
Info c.Pointer
Deallocate c.Pointer
Deallocate libxml2.FreeFunc
Val struct {
Ptr c.Pointer
}
Expand Down Expand Up @@ -200,9 +200,9 @@ type X_xsltTransformContext struct {
Extras RuntimeExtraPtr
StyleList DocumentPtr
Sec c.Pointer
Error c.Pointer
Error libxml2.GenericErrorFunc
Errctx c.Pointer
Sortfunc c.Pointer
Sortfunc SortFunc
TmpRVT libxml2.DocPtr
PersistRVT libxml2.DocPtr
Ctxtflags c.Int
Expand Down Expand Up @@ -232,19 +232,19 @@ type X_xsltTransformContext struct {
OpCount c.Ulong
SourceDocDirty c.Int
CurrentId c.Ulong
NewLocale c.Pointer
FreeLocale c.Pointer
GenSortKey c.Pointer
NewLocale NewLocaleFunc
FreeLocale FreeLocaleFunc
GenSortKey GenSortKeyFunc
}
type TransformContext X_xsltTransformContext
type TransformContextPtr *TransformContext

type X_xsltElemPreComp struct {
Next ElemPreCompPtr
Type StyleType
Func c.Pointer
Func TransformFunction
Inst libxml2.NodePtr
Free c.Pointer
Free ElemPreCompDeallocator
}
type ElemPreComp X_xsltElemPreComp
type ElemPreCompPtr *ElemPreComp
Expand Down Expand Up @@ -287,7 +287,7 @@ type ElemPreCompDeallocator func(ElemPreCompPtr)
type X_xsltStylePreComp struct {
Next ElemPreCompPtr
Type StyleType
Func c.Pointer
Func TransformFunction
Inst libxml2.NodePtr
Stype *libxml2.Char
HasStype c.Int
Expand Down
Loading