From 8519adc7ec0afefb44d0e6700e89041ceff79ef7 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Fri, 20 Jun 2025 14:46:11 +0800 Subject: [PATCH] Release-as: libxslt/v1.0.2 --- libxslt/go.mod | 2 +- libxslt/go.sum | 4 ++-- libxslt/llcppg.cfg | 2 +- libxslt/xsltInternals.go | 18 +++++++++--------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libxslt/go.mod b/libxslt/go.mod index 2e7bc801..82226293 100644 --- a/libxslt/go.mod +++ b/libxslt/go.mod @@ -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 ) diff --git a/libxslt/go.sum b/libxslt/go.sum index debc9a5e..49d82634 100644 --- a/libxslt/go.sum +++ b/libxslt/go.sum @@ -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= diff --git a/libxslt/llcppg.cfg b/libxslt/llcppg.cfg index f80f3eeb..c11cb5be 100644 --- a/libxslt/llcppg.cfg +++ b/libxslt/llcppg.cfg @@ -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":"-" } diff --git a/libxslt/xsltInternals.go b/libxslt/xsltInternals.go index ed79ab00..6c9236bd 100644 --- a/libxslt/xsltInternals.go +++ b/libxslt/xsltInternals.go @@ -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 } @@ -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 @@ -232,9 +232,9 @@ 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 @@ -242,9 +242,9 @@ 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 @@ -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