diff --git a/src/Highlight.Build.props b/src/Highlight.Build.props index ed3543c..24d30bb 100644 --- a/src/Highlight.Build.props +++ b/src/Highlight.Build.props @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT 3.36.0 5.0.0 - 4.8 + 4.9 5.3 5.3.6 diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/CodeGenerator.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/CodeGenerator.cs new file mode 100644 index 0000000..4aefa3c --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/CodeGenerator.cs @@ -0,0 +1,570 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class CodeGenerator : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal CodeGenerator(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CodeGenerator obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~CodeGenerator() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + highlightPINVOKE.delete_CodeGenerator(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static CodeGenerator getInstance(OutputType type) { + global::System.IntPtr cPtr = highlightPINVOKE.CodeGenerator_getInstance((int)type); + CodeGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new CodeGenerator(cPtr, false); + return ret; + } + + public static void deleteInstance(CodeGenerator inst) { + highlightPINVOKE.CodeGenerator_deleteInstance(CodeGenerator.getCPtr(inst)); + } + + public bool initTheme(string themePath, bool loadSemanticStyles) { + bool ret = highlightPINVOKE.CodeGenerator_initTheme__SWIG_0(swigCPtr, themePath, loadSemanticStyles); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool initTheme(string themePath) { + bool ret = highlightPINVOKE.CodeGenerator_initTheme__SWIG_1(swigCPtr, themePath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public LSResult initLanguageServer(string executable, SWIGTYPE_p_std__vectorT_std__string_t options, string workspace, string syntax, int delay, int logLevel, bool legacy) { + LSResult ret = (LSResult)highlightPINVOKE.CodeGenerator_initLanguageServer__SWIG_0(swigCPtr, executable, SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(options), workspace, syntax, delay, logLevel, legacy); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public LSResult initLanguageServer(string executable, SWIGTYPE_p_std__vectorT_std__string_t options, string workspace, string syntax, int delay, int logLevel) { + LSResult ret = (LSResult)highlightPINVOKE.CodeGenerator_initLanguageServer__SWIG_1(swigCPtr, executable, SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(options), workspace, syntax, delay, logLevel); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void exitLanguageServer() { + highlightPINVOKE.CodeGenerator_exitLanguageServer(swigCPtr); + } + + public string getThemeInitError() { + string ret = highlightPINVOKE.CodeGenerator_getThemeInitError(swigCPtr); + return ret; + } + + public string getPluginScriptError() { + string ret = highlightPINVOKE.CodeGenerator_getPluginScriptError(swigCPtr); + return ret; + } + + public bool initIndentationScheme(string indentScheme) { + bool ret = highlightPINVOKE.CodeGenerator_initIndentationScheme(swigCPtr, indentScheme); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public LoadResult loadLanguage(string langDefPath, bool embedded) { + LoadResult ret = (LoadResult)highlightPINVOKE.CodeGenerator_loadLanguage__SWIG_0(swigCPtr, langDefPath, embedded); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public LoadResult loadLanguage(string langDefPath) { + LoadResult ret = (LoadResult)highlightPINVOKE.CodeGenerator_loadLanguage__SWIG_1(swigCPtr, langDefPath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public ParseError generateFile(string inFileName, string outFileName) { + ParseError ret = (ParseError)highlightPINVOKE.CodeGenerator_generateFile(swigCPtr, inFileName, outFileName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string generateString(string input) { + string ret = highlightPINVOKE.CodeGenerator_generateString(swigCPtr, input); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string generateStringFromFile(string inFileName) { + string ret = highlightPINVOKE.CodeGenerator_generateStringFromFile(swigCPtr, inFileName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool printExternalStyle(string outFile) { + bool ret = highlightPINVOKE.CodeGenerator_printExternalStyle(swigCPtr, outFile); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool printPersistentState(string outFile) { + bool ret = highlightPINVOKE.CodeGenerator_printPersistentState(swigCPtr, outFile); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public virtual bool printIndexFile(SWIGTYPE_p_std__vectorT_std__string_t fileList, string outPath) { + bool ret = highlightPINVOKE.CodeGenerator_printIndexFile(swigCPtr, SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(fileList), outPath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void setPreformatting(WrapMode lineWrappingStyle, uint lineLength, int numberSpaces) { + highlightPINVOKE.CodeGenerator_setPreformatting(swigCPtr, (int)lineWrappingStyle, lineLength, numberSpaces); + } + + public void setAdditionalEOFChar(byte eofChar) { + highlightPINVOKE.CodeGenerator_setAdditionalEOFChar__SWIG_0(swigCPtr, eofChar); + } + + public void setAdditionalEOFChar() { + highlightPINVOKE.CodeGenerator_setAdditionalEOFChar__SWIG_1(swigCPtr); + } + + public byte getAdditionalEOFChar() { + byte ret = highlightPINVOKE.CodeGenerator_getAdditionalEOFChar(swigCPtr); + return ret; + } + + public bool styleFound() { + bool ret = highlightPINVOKE.CodeGenerator_styleFound(swigCPtr); + return ret; + } + + public bool formattingDisabled() { + bool ret = highlightPINVOKE.CodeGenerator_formattingDisabled(swigCPtr); + return ret; + } + + public bool formattingIsPossible() { + bool ret = highlightPINVOKE.CodeGenerator_formattingIsPossible(swigCPtr); + return ret; + } + + public void setPrintLineNumbers(bool flag, uint startCnt) { + highlightPINVOKE.CodeGenerator_setPrintLineNumbers__SWIG_0(swigCPtr, flag, startCnt); + } + + public void setPrintLineNumbers(bool flag) { + highlightPINVOKE.CodeGenerator_setPrintLineNumbers__SWIG_1(swigCPtr, flag); + } + + public bool getPrintLineNumbers() { + bool ret = highlightPINVOKE.CodeGenerator_getPrintLineNumbers(swigCPtr); + return ret; + } + + public void setPrintZeroes(bool flag) { + highlightPINVOKE.CodeGenerator_setPrintZeroes(swigCPtr, flag); + } + + public bool getPrintZeroes() { + bool ret = highlightPINVOKE.CodeGenerator_getPrintZeroes(swigCPtr); + return ret; + } + + public void setFragmentCode(bool flag) { + highlightPINVOKE.CodeGenerator_setFragmentCode(swigCPtr, flag); + } + + public bool getFragmentCode() { + bool ret = highlightPINVOKE.CodeGenerator_getFragmentCode(swigCPtr); + return ret; + } + + public void setLineNumberWidth(int w) { + highlightPINVOKE.CodeGenerator_setLineNumberWidth(swigCPtr, w); + } + + public int getLineNumberWidth() { + int ret = highlightPINVOKE.CodeGenerator_getLineNumberWidth(swigCPtr); + return ret; + } + + public void setValidateInput(bool flag) { + highlightPINVOKE.CodeGenerator_setValidateInput(swigCPtr, flag); + } + + public bool getValidateInput() { + bool ret = highlightPINVOKE.CodeGenerator_getValidateInput(swigCPtr); + return ret; + } + + public void setKeepInjections(bool flag) { + highlightPINVOKE.CodeGenerator_setKeepInjections(swigCPtr, flag); + } + + public bool getKeepInjections() { + bool ret = highlightPINVOKE.CodeGenerator_getKeepInjections(swigCPtr); + return ret; + } + + public bool requiresTwoPassParsing() { + bool ret = highlightPINVOKE.CodeGenerator_requiresTwoPassParsing(swigCPtr); + return ret; + } + + public void setNumberWrappedLines(bool flag) { + highlightPINVOKE.CodeGenerator_setNumberWrappedLines(swigCPtr, flag); + } + + public bool getNumberWrappedLines() { + bool ret = highlightPINVOKE.CodeGenerator_getNumberWrappedLines(swigCPtr); + return ret; + } + + public void setOmitVersionComment(bool flag) { + highlightPINVOKE.CodeGenerator_setOmitVersionComment(swigCPtr, flag); + } + + public bool getOmitVersionComment() { + bool ret = highlightPINVOKE.CodeGenerator_getOmitVersionComment(swigCPtr); + return ret; + } + + public void setIsolateTags(bool flag) { + highlightPINVOKE.CodeGenerator_setIsolateTags(swigCPtr, flag); + } + + public bool getIsolateTags() { + bool ret = highlightPINVOKE.CodeGenerator_getIsolateTags(swigCPtr); + return ret; + } + + public string getStyleName() { + string ret = highlightPINVOKE.CodeGenerator_getStyleName(swigCPtr); + return ret; + } + + public void setBaseFont(string fontName) { + highlightPINVOKE.CodeGenerator_setBaseFont(swigCPtr, fontName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public string getBaseFont() { + string ret = highlightPINVOKE.CodeGenerator_getBaseFont(swigCPtr); + return ret; + } + + public void setBaseFontSize(string fontSize) { + highlightPINVOKE.CodeGenerator_setBaseFontSize(swigCPtr, fontSize); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public string getBaseFontSize() { + string ret = highlightPINVOKE.CodeGenerator_getBaseFontSize(swigCPtr); + return ret; + } + + public void setIncludeStyle(bool flag) { + highlightPINVOKE.CodeGenerator_setIncludeStyle(swigCPtr, flag); + } + + public void disableTrailingNL(int flag) { + highlightPINVOKE.CodeGenerator_disableTrailingNL(swigCPtr, flag); + } + + public void setStyleInputPath(string path) { + highlightPINVOKE.CodeGenerator_setStyleInputPath(swigCPtr, path); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void setStyleOutputPath(string path) { + highlightPINVOKE.CodeGenerator_setStyleOutputPath(swigCPtr, path); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void setEncoding(string encodingName) { + highlightPINVOKE.CodeGenerator_setEncoding(swigCPtr, encodingName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public string getStyleInputPath() { + string ret = highlightPINVOKE.CodeGenerator_getStyleInputPath(swigCPtr); + return ret; + } + + public string getStyleOutputPath() { + string ret = highlightPINVOKE.CodeGenerator_getStyleOutputPath(swigCPtr); + return ret; + } + + public void setTitle(string title) { + highlightPINVOKE.CodeGenerator_setTitle(swigCPtr, title); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public string getTitle() { + string ret = highlightPINVOKE.CodeGenerator_getTitle(swigCPtr); + return ret; + } + + public void setStartingInputLine(uint begin) { + highlightPINVOKE.CodeGenerator_setStartingInputLine(swigCPtr, begin); + } + + public void setMaxInputLineCnt(uint cnt) { + highlightPINVOKE.CodeGenerator_setMaxInputLineCnt(swigCPtr, cnt); + } + + public void setFilesCnt(uint cnt) { + highlightPINVOKE.CodeGenerator_setFilesCnt(swigCPtr, cnt); + } + + public void setKeyWordCase(SWIGTYPE_p_StringTools__KeywordCase keyCase) { + highlightPINVOKE.CodeGenerator_setKeyWordCase(swigCPtr, SWIGTYPE_p_StringTools__KeywordCase.getCPtr(keyCase)); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void setEOLDelimiter(char delim) { + highlightPINVOKE.CodeGenerator_setEOLDelimiter(swigCPtr, delim); + } + + public void setPluginParameter(string param) { + highlightPINVOKE.CodeGenerator_setPluginParameter(swigCPtr, param); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void resetSyntaxReaders() { + highlightPINVOKE.CodeGenerator_resetSyntaxReaders(swigCPtr); + } + + public bool initPluginScript(string script) { + bool ret = highlightPINVOKE.CodeGenerator_initPluginScript(swigCPtr, script); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool syntaxRequiresTwoPassRun() { + bool ret = highlightPINVOKE.CodeGenerator_syntaxRequiresTwoPassRun(swigCPtr); + return ret; + } + + public void clearPersistentSnippets() { + highlightPINVOKE.CodeGenerator_clearPersistentSnippets(swigCPtr); + } + + public void setStyleCaching(bool flag) { + highlightPINVOKE.CodeGenerator_setStyleCaching(swigCPtr, flag); + } + + public string getSyntaxRegexError() { + string ret = highlightPINVOKE.CodeGenerator_getSyntaxRegexError(swigCPtr); + return ret; + } + + public string getSyntaxLuaError() { + string ret = highlightPINVOKE.CodeGenerator_getSyntaxLuaError(swigCPtr); + return ret; + } + + public string getSyntaxDescription() { + string ret = highlightPINVOKE.CodeGenerator_getSyntaxDescription(swigCPtr); + return ret; + } + + public string getSyntaxEncodingHint() { + string ret = highlightPINVOKE.CodeGenerator_getSyntaxEncodingHint(swigCPtr); + return ret; + } + + public string getThemeDescription() { + string ret = highlightPINVOKE.CodeGenerator_getThemeDescription(swigCPtr); + return ret; + } + + public string getSyntaxCatDescription() { + string ret = highlightPINVOKE.CodeGenerator_getSyntaxCatDescription(swigCPtr); + return ret; + } + + public float getThemeContrast() { + float ret = highlightPINVOKE.CodeGenerator_getThemeContrast(swigCPtr); + return ret; + } + + public string getThemeCatDescription() { + string ret = highlightPINVOKE.CodeGenerator_getThemeCatDescription(swigCPtr); + return ret; + } + + public SWIGTYPE_p_std__vectorT_std__string_t getPosTestErrors() { + SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(highlightPINVOKE.CodeGenerator_getPosTestErrors(swigCPtr), true); + return ret; + } + + public SyntaxReader getSyntaxReader() { + global::System.IntPtr cPtr = highlightPINVOKE.CodeGenerator_getSyntaxReader(swigCPtr); + SyntaxReader ret = (cPtr == global::System.IntPtr.Zero) ? null : new SyntaxReader(cPtr, false); + return ret; + } + + public string readUserStyleDef() { + string ret = highlightPINVOKE.CodeGenerator_readUserStyleDef(swigCPtr); + return ret; + } + + public virtual string getStyleDefinition() { + string ret = highlightPINVOKE.CodeGenerator_getStyleDefinition(swigCPtr); + return ret; + } + + public virtual string getHoverTagOpen(string hoverText) { + string ret = highlightPINVOKE.CodeGenerator_getHoverTagOpen(swigCPtr, hoverText); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public virtual string getHoverTagClose() { + string ret = highlightPINVOKE.CodeGenerator_getHoverTagClose(swigCPtr); + return ret; + } + + public bool lsOpenDocument(string fileName, string suffix) { + bool ret = highlightPINVOKE.CodeGenerator_lsOpenDocument(swigCPtr, fileName, suffix); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool lsCloseDocument(string fileName, string suffix) { + bool ret = highlightPINVOKE.CodeGenerator_lsCloseDocument(swigCPtr, fileName, suffix); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool lsAddSemanticInfo(string fileName, string suffix) { + bool ret = highlightPINVOKE.CodeGenerator_lsAddSemanticInfo(swigCPtr, fileName, suffix); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void lsAddHoverInfo(bool hover) { + highlightPINVOKE.CodeGenerator_lsAddHoverInfo(swigCPtr, hover); + } + + public void lsAddSyntaxErrorInfo(bool error) { + highlightPINVOKE.CodeGenerator_lsAddSyntaxErrorInfo(swigCPtr, error); + } + + public bool isHoverProvider() { + bool ret = highlightPINVOKE.CodeGenerator_isHoverProvider(swigCPtr); + return ret; + } + + public bool isSemanticTokensProvider() { + bool ret = highlightPINVOKE.CodeGenerator_isSemanticTokensProvider(swigCPtr); + return ret; + } + + public virtual void setHTMLAttachAnchors(bool arg0) { + highlightPINVOKE.CodeGenerator_setHTMLAttachAnchors(swigCPtr, arg0); + } + + public virtual void setHTMLOrderedList(bool arg0) { + highlightPINVOKE.CodeGenerator_setHTMLOrderedList(swigCPtr, arg0); + } + + public virtual void setHTMLInlineCSS(bool arg0) { + highlightPINVOKE.CodeGenerator_setHTMLInlineCSS(swigCPtr, arg0); + } + + public virtual void setHTMLEnclosePreTag(bool arg0) { + highlightPINVOKE.CodeGenerator_setHTMLEnclosePreTag(swigCPtr, arg0); + } + + public virtual void setHTMLUseNonBreakingSpace(bool arg0) { + highlightPINVOKE.CodeGenerator_setHTMLUseNonBreakingSpace(swigCPtr, arg0); + } + + public virtual void setHTMLAnchorPrefix(string arg0) { + highlightPINVOKE.CodeGenerator_setHTMLAnchorPrefix(swigCPtr, arg0); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public virtual void setHTMLClassName(string arg0) { + highlightPINVOKE.CodeGenerator_setHTMLClassName(swigCPtr, arg0); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public virtual void setLATEXReplaceQuotes(bool arg0) { + highlightPINVOKE.CodeGenerator_setLATEXReplaceQuotes(swigCPtr, arg0); + } + + public virtual void setLATEXNoShorthands(bool arg0) { + highlightPINVOKE.CodeGenerator_setLATEXNoShorthands(swigCPtr, arg0); + } + + public virtual void setLATEXPrettySymbols(bool arg0) { + highlightPINVOKE.CodeGenerator_setLATEXPrettySymbols(swigCPtr, arg0); + } + + public virtual void setLATEXBeamerMode(bool arg0) { + highlightPINVOKE.CodeGenerator_setLATEXBeamerMode(swigCPtr, arg0); + } + + public virtual void setRTFPageSize(string arg0) { + highlightPINVOKE.CodeGenerator_setRTFPageSize(swigCPtr, arg0); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public virtual void setRTFCharStyles(bool arg0) { + highlightPINVOKE.CodeGenerator_setRTFCharStyles(swigCPtr, arg0); + } + + public virtual void setRTFPageColor(bool arg0) { + highlightPINVOKE.CodeGenerator_setRTFPageColor(swigCPtr, arg0); + } + + public virtual void setSVGSize(string arg0, string arg1) { + highlightPINVOKE.CodeGenerator_setSVGSize(swigCPtr, arg0, arg1); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public virtual void setESCTrueColor(bool arg0) { + highlightPINVOKE.CodeGenerator_setESCTrueColor(swigCPtr, arg0); + } + + public virtual void setESCCanvasPadding(uint arg0) { + highlightPINVOKE.CodeGenerator_setESCCanvasPadding(swigCPtr, arg0); + } + +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/DataDir.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/DataDir.cs new file mode 100644 index 0000000..ad79583 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/DataDir.cs @@ -0,0 +1,265 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class DataDir : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal DataDir(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DataDir obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~DataDir() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + highlightPINVOKE.delete_DataDir(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t assocByExtension { + set { + highlightPINVOKE.DataDir_assocByExtension_set(swigCPtr, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = highlightPINVOKE.DataDir_assocByExtension_get(swigCPtr); + SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t(cPtr, false); + return ret; + } + } + + public SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t assocByFilename { + set { + highlightPINVOKE.DataDir_assocByFilename_set(swigCPtr, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = highlightPINVOKE.DataDir_assocByFilename_get(swigCPtr); + SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t(cPtr, false); + return ret; + } + } + + public SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t assocByShebang { + set { + highlightPINVOKE.DataDir_assocByShebang_set(swigCPtr, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = highlightPINVOKE.DataDir_assocByShebang_get(swigCPtr); + SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t(cPtr, false); + return ret; + } + } + + public SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t encodingHint { + set { + highlightPINVOKE.DataDir_encodingHint_set(swigCPtr, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = highlightPINVOKE.DataDir_encodingHint_get(swigCPtr); + SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t(cPtr, false); + return ret; + } + } + + public static string LSB_DATA_DIR { + set { + highlightPINVOKE.DataDir_LSB_DATA_DIR_set(value); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + get { + string ret = highlightPINVOKE.DataDir_LSB_DATA_DIR_get(); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public static string LSB_CFG_DIR { + set { + highlightPINVOKE.DataDir_LSB_CFG_DIR_set(value); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + get { + string ret = highlightPINVOKE.DataDir_LSB_CFG_DIR_get(); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public static string LSB_DOC_DIR { + set { + highlightPINVOKE.DataDir_LSB_DOC_DIR_set(value); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + get { + string ret = highlightPINVOKE.DataDir_LSB_DOC_DIR_get(); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public void initSearchDirectories(string userDefinedDir) { + highlightPINVOKE.DataDir_initSearchDirectories(swigCPtr, userDefinedDir); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void printConfigPaths() { + highlightPINVOKE.DataDir_printConfigPaths(swigCPtr); + } + + public string getLangPath(string file) { + string ret = highlightPINVOKE.DataDir_getLangPath__SWIG_0(swigCPtr, file); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getThemePath() { + string ret = highlightPINVOKE.DataDir_getThemePath__SWIG_0(swigCPtr); + return ret; + } + + public string getLangPath() { + string ret = highlightPINVOKE.DataDir_getLangPath__SWIG_1(swigCPtr); + return ret; + } + + public string getSystemDataPath() { + string ret = highlightPINVOKE.DataDir_getSystemDataPath(swigCPtr); + return ret; + } + + public string getPluginPath() { + string ret = highlightPINVOKE.DataDir_getPluginPath__SWIG_0(swigCPtr); + return ret; + } + + public string getThemePath(string file, bool base16) { + string ret = highlightPINVOKE.DataDir_getThemePath__SWIG_1(swigCPtr, file, base16); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getThemePath(string file) { + string ret = highlightPINVOKE.DataDir_getThemePath__SWIG_2(swigCPtr, file); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getFiletypesConfPath(string path) { + string ret = highlightPINVOKE.DataDir_getFiletypesConfPath__SWIG_0(swigCPtr, path); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getFiletypesConfPath() { + string ret = highlightPINVOKE.DataDir_getFiletypesConfPath__SWIG_1(swigCPtr); + return ret; + } + + public string getPluginPath(string arg0) { + string ret = highlightPINVOKE.DataDir_getPluginPath__SWIG_1(swigCPtr, arg0); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getI18nDir() { + string ret = highlightPINVOKE.DataDir_getI18nDir(swigCPtr); + return ret; + } + + public string getExtDir() { + string ret = highlightPINVOKE.DataDir_getExtDir(swigCPtr); + return ret; + } + + public string getDocDir() { + string ret = highlightPINVOKE.DataDir_getDocDir(swigCPtr); + return ret; + } + + public string getEncodingHint(string arg0) { + string ret = highlightPINVOKE.DataDir_getEncodingHint(swigCPtr, arg0); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getFileSuffix(string fileName) { + string ret = highlightPINVOKE.DataDir_getFileSuffix(swigCPtr, fileName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string guessFileType(string suffix, string inputFile, bool useUserSuffix, bool forceShebangCheckStdin) { + string ret = highlightPINVOKE.DataDir_guessFileType__SWIG_0(swigCPtr, suffix, inputFile, useUserSuffix, forceShebangCheckStdin); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string guessFileType(string suffix, string inputFile, bool useUserSuffix) { + string ret = highlightPINVOKE.DataDir_guessFileType__SWIG_1(swigCPtr, suffix, inputFile, useUserSuffix); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string guessFileType(string suffix, string inputFile) { + string ret = highlightPINVOKE.DataDir_guessFileType__SWIG_2(swigCPtr, suffix, inputFile); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool loadFileTypeConfig(string name) { + bool ret = highlightPINVOKE.DataDir_loadFileTypeConfig(swigCPtr, name); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool loadLSPConfig(string name) { + bool ret = highlightPINVOKE.DataDir_loadLSPConfig(swigCPtr, name); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool profileExists(string profile) { + bool ret = highlightPINVOKE.DataDir_profileExists(swigCPtr, profile); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public SWIGTYPE_p_highlight__LSPProfile getProfile(string profile) { + SWIGTYPE_p_highlight__LSPProfile ret = new SWIGTYPE_p_highlight__LSPProfile(highlightPINVOKE.DataDir_getProfile(swigCPtr, profile), false); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public DataDir() : this(highlightPINVOKE.new_DataDir(), true) { + } + +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LSResult.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LSResult.cs new file mode 100644 index 0000000..e5da547 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LSResult.cs @@ -0,0 +1,20 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum LSResult { + INIT_OK, + INIT_BAD_PIPE, + INIT_BAD_REQUEST, + CMD_ERROR +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LoadResult.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LoadResult.cs new file mode 100644 index 0000000..c5a6040 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/LoadResult.cs @@ -0,0 +1,20 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum LoadResult { + LOAD_OK, + LOAD_FAILED, + LOAD_FAILED_REGEX, + LOAD_FAILED_LUA +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/OutputType.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/OutputType.cs new file mode 100644 index 0000000..d34d7fb --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/OutputType.cs @@ -0,0 +1,28 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum OutputType { + HTML, + XHTML, + TEX, + LATEX, + RTF, + ESC_ANSI, + ESC_XTERM256, + ESC_TRUECOLOR, + SVG, + BBCODE, + PANGO, + ODTFLAT +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/ParseError.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/ParseError.cs new file mode 100644 index 0000000..d42f4a6 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/ParseError.cs @@ -0,0 +1,21 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum ParseError { + PARSE_OK, + BAD_INPUT = 1, + BAD_OUTPUT = 2, + BAD_STYLE = 4, + BAD_BINARY = 8 +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaFunction.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaFunction.cs new file mode 100644 index 0000000..803ee43 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaFunction.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_Diluculum__LuaFunction { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_Diluculum__LuaFunction(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_Diluculum__LuaFunction() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Diluculum__LuaFunction obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaState.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaState.cs new file mode 100644 index 0000000..6e86848 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_Diluculum__LuaState.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_Diluculum__LuaState { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_Diluculum__LuaState(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_Diluculum__LuaState() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Diluculum__LuaState obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_StringTools__KeywordCase.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_StringTools__KeywordCase.cs new file mode 100644 index 0000000..1db0bbb --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_StringTools__KeywordCase.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_StringTools__KeywordCase { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_StringTools__KeywordCase(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_StringTools__KeywordCase() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_StringTools__KeywordCase obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_highlight__LSPProfile.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_highlight__LSPProfile.cs new file mode 100644 index 0000000..573b349 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_highlight__LSPProfile.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_highlight__LSPProfile { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_highlight__LSPProfile(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_highlight__LSPProfile() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_highlight__LSPProfile obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t.cs new file mode 100644 index 0000000..6948bd8 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.cs new file mode 100644 index 0000000..215a8aa --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t.cs new file mode 100644 index 0000000..c0b9ae1 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_int_t.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_int_t.cs new file mode 100644 index 0000000..581f044 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_int_t.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_std__vectorT_int_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__vectorT_int_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__vectorT_int_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_int_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_std__string_t.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_std__string_t.cs new file mode 100644 index 0000000..c8e74ac --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SWIGTYPE_p_std__vectorT_std__string_t.cs @@ -0,0 +1,29 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SWIGTYPE_p_std__vectorT_std__string_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__vectorT_std__string_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__vectorT_std__string_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__vectorT_std__string_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/State.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/State.cs new file mode 100644 index 0000000..525f14c --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/State.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum State { + STANDARD = 0, + STRING, + NUMBER, + SL_COMMENT, + ML_COMMENT, + ESC_CHAR, + DIRECTIVE, + DIRECTIVE_STRING, + LINENUMBER, + SYMBOL, + STRING_INTERPOLATION, + SYNTAX_ERROR, + SYNTAX_ERROR_MSG, + KEYWORD, + STRING_END, + NUMBER_END, + SL_COMMENT_END, + ML_COMMENT_END, + ESC_CHAR_END, + DIRECTIVE_END, + SYMBOL_END, + STRING_INTERPOLATION_END, + KEYWORD_END, + IDENTIFIER_BEGIN, + IDENTIFIER_END, + EMBEDDED_CODE_BEGIN, + EMBEDDED_CODE_END, + _UNKNOWN = 100, + _REJECT, + _EOL, + _EOF, + _WS, + _TESTPOS +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SyntaxReader.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SyntaxReader.cs new file mode 100644 index 0000000..4b80db8 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/SyntaxReader.cs @@ -0,0 +1,330 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class SyntaxReader : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal SyntaxReader(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SyntaxReader obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~SyntaxReader() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + highlightPINVOKE.delete_SyntaxReader(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public SyntaxReader() : this(highlightPINVOKE.new_SyntaxReader(), true) { + } + + public LoadResult load(string langDefPath, string pluginReadFilePath, OutputType outputType) { + LoadResult ret = (LoadResult)highlightPINVOKE.SyntaxReader_load(swigCPtr, langDefPath, pluginReadFilePath, (int)outputType); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool needsReload(string langDefPath) { + bool ret = highlightPINVOKE.SyntaxReader_needsReload(swigCPtr, langDefPath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getFailedRegex() { + string ret = highlightPINVOKE.SyntaxReader_getFailedRegex(swigCPtr); + return ret; + } + + public string getLuaErrorText() { + string ret = highlightPINVOKE.SyntaxReader_getLuaErrorText(swigCPtr); + return ret; + } + + public byte getRawStringPrefix() { + byte ret = highlightPINVOKE.SyntaxReader_getRawStringPrefix(swigCPtr); + return ret; + } + + public byte getContinuationChar() { + byte ret = highlightPINVOKE.SyntaxReader_getContinuationChar(swigCPtr); + return ret; + } + + public bool highlightingEnabled() { + bool ret = highlightPINVOKE.SyntaxReader_highlightingEnabled(swigCPtr); + return ret; + } + + public bool isIgnoreCase() { + bool ret = highlightPINVOKE.SyntaxReader_isIgnoreCase(swigCPtr); + return ret; + } + + public bool isKeyword(string s) { + bool ret = highlightPINVOKE.SyntaxReader_isKeyword(swigCPtr, s); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public int getKeywordListGroup(string s) { + int ret = highlightPINVOKE.SyntaxReader_getKeywordListGroup(swigCPtr, s); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool allowNestedMLComments() { + bool ret = highlightPINVOKE.SyntaxReader_allowNestedMLComments(swigCPtr); + return ret; + } + + public bool highlightingDisabled() { + bool ret = highlightPINVOKE.SyntaxReader_highlightingDisabled(swigCPtr); + return ret; + } + + public bool enableReformatting() { + bool ret = highlightPINVOKE.SyntaxReader_enableReformatting(swigCPtr); + return ret; + } + + public bool assertDelimEqualLength() { + bool ret = highlightPINVOKE.SyntaxReader_assertDelimEqualLength(swigCPtr); + return ret; + } + + public SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t getKeywords() { + SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t ret = new SWIGTYPE_p_std__mapT_std__string_int_std__lessT_std__string_t_t(highlightPINVOKE.SyntaxReader_getKeywords(swigCPtr), false); + return ret; + } + + public SWIGTYPE_p_std__vectorT_std__string_t getKeywordClasses() { + SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(highlightPINVOKE.SyntaxReader_getKeywordClasses(swigCPtr), false); + return ret; + } + + public SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t getRegexElements() { + SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t ret = new SWIGTYPE_p_std__vectorT_highlight__RegexElement_p_t(highlightPINVOKE.SyntaxReader_getRegexElements(swigCPtr), false); + return ret; + } + + public SWIGTYPE_p_std__vectorT_std__string_t getPersistentSnippets() { + SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(highlightPINVOKE.SyntaxReader_getPersistentSnippets(swigCPtr), false); + return ret; + } + + public int getPersistentSnippetsNum() { + int ret = highlightPINVOKE.SyntaxReader_getPersistentSnippetsNum(swigCPtr); + return ret; + } + + public SWIGTYPE_p_std__vectorT_int_t getOverrideStyleAttributes() { + SWIGTYPE_p_std__vectorT_int_t ret = new SWIGTYPE_p_std__vectorT_int_t(highlightPINVOKE.SyntaxReader_getOverrideStyleAttributes(swigCPtr), false); + return ret; + } + + public string getDescription() { + string ret = highlightPINVOKE.SyntaxReader_getDescription(swigCPtr); + return ret; + } + + public string getCategoryDescription() { + string ret = highlightPINVOKE.SyntaxReader_getCategoryDescription(swigCPtr); + return ret; + } + + public string getHeaderInjection() { + string ret = highlightPINVOKE.SyntaxReader_getHeaderInjection(swigCPtr); + return ret; + } + + public string getFooterInjection() { + string ret = highlightPINVOKE.SyntaxReader_getFooterInjection(swigCPtr); + return ret; + } + + public bool delimiterIsDistinct(int delimID) { + bool ret = highlightPINVOKE.SyntaxReader_delimiterIsDistinct(swigCPtr, delimID); + return ret; + } + + public bool delimiterIsRawString(int delimID) { + bool ret = highlightPINVOKE.SyntaxReader_delimiterIsRawString(swigCPtr, delimID); + return ret; + } + + public int getOpenDelimiterID(string token, State s) { + int ret = highlightPINVOKE.SyntaxReader_getOpenDelimiterID(swigCPtr, token, (int)s); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool matchesOpenDelimiter(string token, State s, int openDelimId) { + bool ret = highlightPINVOKE.SyntaxReader_matchesOpenDelimiter(swigCPtr, token, (int)s, openDelimId); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void restoreLangEndDelim(string langPath) { + highlightPINVOKE.SyntaxReader_restoreLangEndDelim(swigCPtr, langPath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public bool allowsInnerSection(string langPath) { + bool ret = highlightPINVOKE.SyntaxReader_allowsInnerSection(swigCPtr, langPath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool requiresTwoPassRun() { + bool ret = highlightPINVOKE.SyntaxReader_requiresTwoPassRun(swigCPtr); + return ret; + } + + public bool requiresParamUpdate() { + bool ret = highlightPINVOKE.SyntaxReader_requiresParamUpdate(swigCPtr); + return ret; + } + + public string getPersistentHookConditions() { + string ret = highlightPINVOKE.SyntaxReader_getPersistentHookConditions(swigCPtr); + return ret; + } + + public void clearPersistentSnippets() { + highlightPINVOKE.SyntaxReader_clearPersistentSnippets(swigCPtr); + } + + public string getNewPath(string lang) { + string ret = highlightPINVOKE.SyntaxReader_getNewPath(swigCPtr, lang); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string getCurrentPath() { + string ret = highlightPINVOKE.SyntaxReader_getCurrentPath(swigCPtr); + return ret; + } + + public string getEncodingHint() { + string ret = highlightPINVOKE.SyntaxReader_getEncodingHint(swigCPtr); + return ret; + } + + public string getOverrideConfigVal(string name) { + string ret = highlightPINVOKE.SyntaxReader_getOverrideConfigVal(swigCPtr, name); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public SWIGTYPE_p_Diluculum__LuaFunction getValidateStateChangeFct() { + global::System.IntPtr cPtr = highlightPINVOKE.SyntaxReader_getValidateStateChangeFct(swigCPtr); + SWIGTYPE_p_Diluculum__LuaFunction ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Diluculum__LuaFunction(cPtr, false); + return ret; + } + + public SWIGTYPE_p_Diluculum__LuaFunction getDecorateFct() { + global::System.IntPtr cPtr = highlightPINVOKE.SyntaxReader_getDecorateFct(swigCPtr); + SWIGTYPE_p_Diluculum__LuaFunction ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Diluculum__LuaFunction(cPtr, false); + return ret; + } + + public SWIGTYPE_p_Diluculum__LuaFunction getDecorateLineBeginFct() { + global::System.IntPtr cPtr = highlightPINVOKE.SyntaxReader_getDecorateLineBeginFct(swigCPtr); + SWIGTYPE_p_Diluculum__LuaFunction ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Diluculum__LuaFunction(cPtr, false); + return ret; + } + + public SWIGTYPE_p_Diluculum__LuaFunction getDecorateLineEndFct() { + global::System.IntPtr cPtr = highlightPINVOKE.SyntaxReader_getDecorateLineEndFct(swigCPtr); + SWIGTYPE_p_Diluculum__LuaFunction ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Diluculum__LuaFunction(cPtr, false); + return ret; + } + + public SWIGTYPE_p_Diluculum__LuaState getLuaState() { + global::System.IntPtr cPtr = highlightPINVOKE.SyntaxReader_getLuaState(swigCPtr); + SWIGTYPE_p_Diluculum__LuaState ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Diluculum__LuaState(cPtr, false); + return ret; + } + + public void addUserChunk(SWIGTYPE_p_Diluculum__LuaFunction chunk) { + highlightPINVOKE.SyntaxReader_addUserChunk(swigCPtr, SWIGTYPE_p_Diluculum__LuaFunction.getCPtr(chunk)); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void setInputFileName(string fn) { + highlightPINVOKE.SyntaxReader_setInputFileName(swigCPtr, fn); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public string getInputFileName() { + string ret = highlightPINVOKE.SyntaxReader_getInputFileName(swigCPtr); + return ret; + } + + public void addPersistentKeyword(uint groupID, string kw) { + highlightPINVOKE.SyntaxReader_addPersistentKeyword(swigCPtr, groupID, kw); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public void addPersistentStateRange(uint groupID, uint column, uint length, uint lineNumber, string fileName) { + highlightPINVOKE.SyntaxReader_addPersistentStateRange(swigCPtr, groupID, column, length, lineNumber, fileName); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public static void initLuaState(SWIGTYPE_p_Diluculum__LuaState ls, string langDefPath, string pluginReadFilePath, OutputType outputType) { + highlightPINVOKE.SyntaxReader_initLuaState__SWIG_0(SWIGTYPE_p_Diluculum__LuaState.getCPtr(ls), langDefPath, pluginReadFilePath, (int)outputType); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public static void initLuaState(SWIGTYPE_p_Diluculum__LuaState ls, string langDefPath, string pluginReadFilePath) { + highlightPINVOKE.SyntaxReader_initLuaState__SWIG_1(SWIGTYPE_p_Diluculum__LuaState.getCPtr(ls), langDefPath, pluginReadFilePath); + if (highlightPINVOKE.SWIGPendingException.Pending) throw highlightPINVOKE.SWIGPendingException.Retrieve(); + } + + public uint generateNewKWClass(int classID, string prefix) { + uint ret = highlightPINVOKE.SyntaxReader_generateNewKWClass__SWIG_0(swigCPtr, classID, prefix); + return ret; + } + + public uint generateNewKWClass(int classID) { + uint ret = highlightPINVOKE.SyntaxReader_generateNewKWClass__SWIG_1(swigCPtr, classID); + return ret; + } + + public int getKeywordCount() { + int ret = highlightPINVOKE.SyntaxReader_getKeywordCount(swigCPtr); + return ret; + } + +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/WrapMode.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/WrapMode.cs new file mode 100644 index 0000000..5649ec1 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/WrapMode.cs @@ -0,0 +1,19 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public enum WrapMode { + WRAP_DISABLED, + WRAP_SIMPLE, + WRAP_DEFAULT +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlight.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlight.cs new file mode 100644 index 0000000..e67bf6e --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlight.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +public class highlight { + public static readonly string GLOBAL_SR_INSTANCE_NAME = highlightPINVOKE.GLOBAL_SR_INSTANCE_NAME_get(); +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlightPINVOKE.cs b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlightPINVOKE.cs new file mode 100644 index 0000000..6fcf6d2 --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/Smdn.LibHighlightSharp.Bindings/highlight-4.9/highlightPINVOKE.cs @@ -0,0 +1,812 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 4.0.2 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace Smdn.LibHighlightSharp.Bindings { + +class highlightPINVOKE { + + protected class SWIGExceptionHelper { + + public delegate void ExceptionDelegate(string message); + public delegate void ExceptionArgumentDelegate(string message, string paramName); + + static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); + static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); + static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); + static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); + static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); + static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); + static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); + static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); + static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); + static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); + static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); + + static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); + static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); + static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="SWIGRegisterExceptionCallbacks_highlight")] + public static extern void SWIGRegisterExceptionCallbacks_highlight( + ExceptionDelegate applicationDelegate, + ExceptionDelegate arithmeticDelegate, + ExceptionDelegate divideByZeroDelegate, + ExceptionDelegate indexOutOfRangeDelegate, + ExceptionDelegate invalidCastDelegate, + ExceptionDelegate invalidOperationDelegate, + ExceptionDelegate ioDelegate, + ExceptionDelegate nullReferenceDelegate, + ExceptionDelegate outOfMemoryDelegate, + ExceptionDelegate overflowDelegate, + ExceptionDelegate systemExceptionDelegate); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_highlight")] + public static extern void SWIGRegisterExceptionCallbacksArgument_highlight( + ExceptionArgumentDelegate argumentDelegate, + ExceptionArgumentDelegate argumentNullDelegate, + ExceptionArgumentDelegate argumentOutOfRangeDelegate); + + static void SetPendingApplicationException(string message) { + SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingArithmeticException(string message) { + SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingDivideByZeroException(string message) { + SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIndexOutOfRangeException(string message) { + SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidCastException(string message) { + SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidOperationException(string message) { + SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIOException(string message) { + SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingNullReferenceException(string message) { + SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOutOfMemoryException(string message) { + SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOverflowException(string message) { + SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingSystemException(string message) { + SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); + } + + static void SetPendingArgumentException(string message, string paramName) { + SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); + } + static void SetPendingArgumentNullException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); + } + static void SetPendingArgumentOutOfRangeException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); + } + + static SWIGExceptionHelper() { + SWIGRegisterExceptionCallbacks_highlight( + applicationDelegate, + arithmeticDelegate, + divideByZeroDelegate, + indexOutOfRangeDelegate, + invalidCastDelegate, + invalidOperationDelegate, + ioDelegate, + nullReferenceDelegate, + outOfMemoryDelegate, + overflowDelegate, + systemDelegate); + + SWIGRegisterExceptionCallbacksArgument_highlight( + argumentDelegate, + argumentNullDelegate, + argumentOutOfRangeDelegate); + } + } + + protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); + + public class SWIGPendingException { + [global::System.ThreadStatic] + private static global::System.Exception pendingException = null; + private static int numExceptionsPending = 0; + private static global::System.Object exceptionsLock = null; + + public static bool Pending { + get { + bool pending = false; + if (numExceptionsPending > 0) + if (pendingException != null) + pending = true; + return pending; + } + } + + public static void Set(global::System.Exception e) { + if (pendingException != null) + throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); + pendingException = e; + lock(exceptionsLock) { + numExceptionsPending++; + } + } + + public static global::System.Exception Retrieve() { + global::System.Exception e = null; + if (numExceptionsPending > 0) { + if (pendingException != null) { + e = pendingException; + pendingException = null; + lock(exceptionsLock) { + numExceptionsPending--; + } + } + } + return e; + } + + static SWIGPendingException() { + exceptionsLock = new global::System.Object(); + } + } + + + protected class SWIGStringHelper { + + public delegate string SWIGStringDelegate(string message); + static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="SWIGRegisterStringCallback_highlight")] + public static extern void SWIGRegisterStringCallback_highlight(SWIGStringDelegate stringDelegate); + + static string CreateString(string cString) { + return cString; + } + + static SWIGStringHelper() { + SWIGRegisterStringCallback_highlight(stringDelegate); + } + } + + static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); + + + static highlightPINVOKE() { + } + + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByExtension_set___")] + public static extern void DataDir_assocByExtension_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByExtension_get___")] + public static extern global::System.IntPtr DataDir_assocByExtension_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByFilename_set___")] + public static extern void DataDir_assocByFilename_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByFilename_get___")] + public static extern global::System.IntPtr DataDir_assocByFilename_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByShebang_set___")] + public static extern void DataDir_assocByShebang_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_assocByShebang_get___")] + public static extern global::System.IntPtr DataDir_assocByShebang_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_encodingHint_set___")] + public static extern void DataDir_encodingHint_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_encodingHint_get___")] + public static extern global::System.IntPtr DataDir_encodingHint_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_DATA_DIR_set___")] + public static extern void DataDir_LSB_DATA_DIR_set(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_DATA_DIR_get___")] + public static extern string DataDir_LSB_DATA_DIR_get(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_CFG_DIR_set___")] + public static extern void DataDir_LSB_CFG_DIR_set(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_CFG_DIR_get___")] + public static extern string DataDir_LSB_CFG_DIR_get(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_DOC_DIR_set___")] + public static extern void DataDir_LSB_DOC_DIR_set(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_LSB_DOC_DIR_get___")] + public static extern string DataDir_LSB_DOC_DIR_get(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_initSearchDirectories___")] + public static extern void DataDir_initSearchDirectories(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_printConfigPaths___")] + public static extern void DataDir_printConfigPaths(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getLangPath__SWIG_0___")] + public static extern string DataDir_getLangPath__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getThemePath__SWIG_0___")] + public static extern string DataDir_getThemePath__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getLangPath__SWIG_1___")] + public static extern string DataDir_getLangPath__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getSystemDataPath___")] + public static extern string DataDir_getSystemDataPath(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getPluginPath__SWIG_0___")] + public static extern string DataDir_getPluginPath__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getThemePath__SWIG_1___")] + public static extern string DataDir_getThemePath__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, bool jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getThemePath__SWIG_2___")] + public static extern string DataDir_getThemePath__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getFiletypesConfPath__SWIG_0___")] + public static extern string DataDir_getFiletypesConfPath__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getFiletypesConfPath__SWIG_1___")] + public static extern string DataDir_getFiletypesConfPath__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getPluginPath__SWIG_1___")] + public static extern string DataDir_getPluginPath__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getI18nDir___")] + public static extern string DataDir_getI18nDir(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getExtDir___")] + public static extern string DataDir_getExtDir(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getDocDir___")] + public static extern string DataDir_getDocDir(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getEncodingHint___")] + public static extern string DataDir_getEncodingHint(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getFileSuffix___")] + public static extern string DataDir_getFileSuffix(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_guessFileType__SWIG_0___")] + public static extern string DataDir_guessFileType__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, bool jarg4, bool jarg5); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_guessFileType__SWIG_1___")] + public static extern string DataDir_guessFileType__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, bool jarg4); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_guessFileType__SWIG_2___")] + public static extern string DataDir_guessFileType__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_loadFileTypeConfig___")] + public static extern bool DataDir_loadFileTypeConfig(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_loadLSPConfig___")] + public static extern bool DataDir_loadLSPConfig(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_profileExists___")] + public static extern bool DataDir_profileExists(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_DataDir_getProfile___")] + public static extern global::System.IntPtr DataDir_getProfile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_new_DataDir___")] + public static extern global::System.IntPtr new_DataDir(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_delete_DataDir___")] + public static extern void delete_DataDir(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_GLOBAL_SR_INSTANCE_NAME_get___")] + public static extern string GLOBAL_SR_INSTANCE_NAME_get(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_new_SyntaxReader___")] + public static extern global::System.IntPtr new_SyntaxReader(); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_delete_SyntaxReader___")] + public static extern void delete_SyntaxReader(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_load___")] + public static extern int SyntaxReader_load(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_needsReload___")] + public static extern bool SyntaxReader_needsReload(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getFailedRegex___")] + public static extern string SyntaxReader_getFailedRegex(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getLuaErrorText___")] + public static extern string SyntaxReader_getLuaErrorText(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getRawStringPrefix___")] + public static extern byte SyntaxReader_getRawStringPrefix(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getContinuationChar___")] + public static extern byte SyntaxReader_getContinuationChar(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_highlightingEnabled___")] + public static extern bool SyntaxReader_highlightingEnabled(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_isIgnoreCase___")] + public static extern bool SyntaxReader_isIgnoreCase(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_isKeyword___")] + public static extern bool SyntaxReader_isKeyword(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getKeywordListGroup___")] + public static extern int SyntaxReader_getKeywordListGroup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_allowNestedMLComments___")] + public static extern bool SyntaxReader_allowNestedMLComments(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_highlightingDisabled___")] + public static extern bool SyntaxReader_highlightingDisabled(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_enableReformatting___")] + public static extern bool SyntaxReader_enableReformatting(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_assertDelimEqualLength___")] + public static extern bool SyntaxReader_assertDelimEqualLength(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getKeywords___")] + public static extern global::System.IntPtr SyntaxReader_getKeywords(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getKeywordClasses___")] + public static extern global::System.IntPtr SyntaxReader_getKeywordClasses(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getRegexElements___")] + public static extern global::System.IntPtr SyntaxReader_getRegexElements(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getPersistentSnippets___")] + public static extern global::System.IntPtr SyntaxReader_getPersistentSnippets(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getPersistentSnippetsNum___")] + public static extern int SyntaxReader_getPersistentSnippetsNum(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getOverrideStyleAttributes___")] + public static extern global::System.IntPtr SyntaxReader_getOverrideStyleAttributes(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getDescription___")] + public static extern string SyntaxReader_getDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getCategoryDescription___")] + public static extern string SyntaxReader_getCategoryDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getHeaderInjection___")] + public static extern string SyntaxReader_getHeaderInjection(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getFooterInjection___")] + public static extern string SyntaxReader_getFooterInjection(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_delimiterIsDistinct___")] + public static extern bool SyntaxReader_delimiterIsDistinct(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_delimiterIsRawString___")] + public static extern bool SyntaxReader_delimiterIsRawString(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getOpenDelimiterID___")] + public static extern int SyntaxReader_getOpenDelimiterID(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_matchesOpenDelimiter___")] + public static extern bool SyntaxReader_matchesOpenDelimiter(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_restoreLangEndDelim___")] + public static extern void SyntaxReader_restoreLangEndDelim(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_allowsInnerSection___")] + public static extern bool SyntaxReader_allowsInnerSection(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_requiresTwoPassRun___")] + public static extern bool SyntaxReader_requiresTwoPassRun(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_requiresParamUpdate___")] + public static extern bool SyntaxReader_requiresParamUpdate(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getPersistentHookConditions___")] + public static extern string SyntaxReader_getPersistentHookConditions(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_clearPersistentSnippets___")] + public static extern void SyntaxReader_clearPersistentSnippets(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getNewPath___")] + public static extern string SyntaxReader_getNewPath(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getCurrentPath___")] + public static extern string SyntaxReader_getCurrentPath(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getEncodingHint___")] + public static extern string SyntaxReader_getEncodingHint(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getOverrideConfigVal___")] + public static extern string SyntaxReader_getOverrideConfigVal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getValidateStateChangeFct___")] + public static extern global::System.IntPtr SyntaxReader_getValidateStateChangeFct(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getDecorateFct___")] + public static extern global::System.IntPtr SyntaxReader_getDecorateFct(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getDecorateLineBeginFct___")] + public static extern global::System.IntPtr SyntaxReader_getDecorateLineBeginFct(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getDecorateLineEndFct___")] + public static extern global::System.IntPtr SyntaxReader_getDecorateLineEndFct(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getLuaState___")] + public static extern global::System.IntPtr SyntaxReader_getLuaState(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_addUserChunk___")] + public static extern void SyntaxReader_addUserChunk(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_setInputFileName___")] + public static extern void SyntaxReader_setInputFileName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getInputFileName___")] + public static extern string SyntaxReader_getInputFileName(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_addPersistentKeyword___")] + public static extern void SyntaxReader_addPersistentKeyword(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_addPersistentStateRange___")] + public static extern void SyntaxReader_addPersistentStateRange(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_initLuaState__SWIG_0___")] + public static extern void SyntaxReader_initLuaState__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_initLuaState__SWIG_1___")] + public static extern void SyntaxReader_initLuaState__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_generateNewKWClass__SWIG_0___")] + public static extern uint SyntaxReader_generateNewKWClass__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_generateNewKWClass__SWIG_1___")] + public static extern uint SyntaxReader_generateNewKWClass__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_SyntaxReader_getKeywordCount___")] + public static extern int SyntaxReader_getKeywordCount(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_delete_CodeGenerator___")] + public static extern void delete_CodeGenerator(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getInstance___")] + public static extern global::System.IntPtr CodeGenerator_getInstance(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_deleteInstance___")] + public static extern void CodeGenerator_deleteInstance(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initTheme__SWIG_0___")] + public static extern bool CodeGenerator_initTheme__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, bool jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initTheme__SWIG_1___")] + public static extern bool CodeGenerator_initTheme__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initLanguageServer__SWIG_0___")] + public static extern int CodeGenerator_initLanguageServer__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6, int jarg7, bool jarg8); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initLanguageServer__SWIG_1___")] + public static extern int CodeGenerator_initLanguageServer__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6, int jarg7); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_exitLanguageServer___")] + public static extern void CodeGenerator_exitLanguageServer(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getThemeInitError___")] + public static extern string CodeGenerator_getThemeInitError(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getPluginScriptError___")] + public static extern string CodeGenerator_getPluginScriptError(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initIndentationScheme___")] + public static extern bool CodeGenerator_initIndentationScheme(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_loadLanguage__SWIG_0___")] + public static extern int CodeGenerator_loadLanguage__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, bool jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_loadLanguage__SWIG_1___")] + public static extern int CodeGenerator_loadLanguage__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_generateFile___")] + public static extern int CodeGenerator_generateFile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_generateString___")] + public static extern string CodeGenerator_generateString(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_generateStringFromFile___")] + public static extern string CodeGenerator_generateStringFromFile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_printExternalStyle___")] + public static extern bool CodeGenerator_printExternalStyle(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_printPersistentState___")] + public static extern bool CodeGenerator_printPersistentState(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_printIndexFile___")] + public static extern bool CodeGenerator_printIndexFile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setPreformatting___")] + public static extern void CodeGenerator_setPreformatting(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setAdditionalEOFChar__SWIG_0___")] + public static extern void CodeGenerator_setAdditionalEOFChar__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setAdditionalEOFChar__SWIG_1___")] + public static extern void CodeGenerator_setAdditionalEOFChar__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getAdditionalEOFChar___")] + public static extern byte CodeGenerator_getAdditionalEOFChar(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_styleFound___")] + public static extern bool CodeGenerator_styleFound(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_formattingDisabled___")] + public static extern bool CodeGenerator_formattingDisabled(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_formattingIsPossible___")] + public static extern bool CodeGenerator_formattingIsPossible(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setPrintLineNumbers__SWIG_0___")] + public static extern void CodeGenerator_setPrintLineNumbers__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2, uint jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setPrintLineNumbers__SWIG_1___")] + public static extern void CodeGenerator_setPrintLineNumbers__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getPrintLineNumbers___")] + public static extern bool CodeGenerator_getPrintLineNumbers(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setPrintZeroes___")] + public static extern void CodeGenerator_setPrintZeroes(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getPrintZeroes___")] + public static extern bool CodeGenerator_getPrintZeroes(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setFragmentCode___")] + public static extern void CodeGenerator_setFragmentCode(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getFragmentCode___")] + public static extern bool CodeGenerator_getFragmentCode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setLineNumberWidth___")] + public static extern void CodeGenerator_setLineNumberWidth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getLineNumberWidth___")] + public static extern int CodeGenerator_getLineNumberWidth(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setValidateInput___")] + public static extern void CodeGenerator_setValidateInput(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getValidateInput___")] + public static extern bool CodeGenerator_getValidateInput(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setKeepInjections___")] + public static extern void CodeGenerator_setKeepInjections(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getKeepInjections___")] + public static extern bool CodeGenerator_getKeepInjections(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_requiresTwoPassParsing___")] + public static extern bool CodeGenerator_requiresTwoPassParsing(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setNumberWrappedLines___")] + public static extern void CodeGenerator_setNumberWrappedLines(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getNumberWrappedLines___")] + public static extern bool CodeGenerator_getNumberWrappedLines(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setOmitVersionComment___")] + public static extern void CodeGenerator_setOmitVersionComment(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getOmitVersionComment___")] + public static extern bool CodeGenerator_getOmitVersionComment(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setIsolateTags___")] + public static extern void CodeGenerator_setIsolateTags(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getIsolateTags___")] + public static extern bool CodeGenerator_getIsolateTags(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getStyleName___")] + public static extern string CodeGenerator_getStyleName(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setBaseFont___")] + public static extern void CodeGenerator_setBaseFont(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getBaseFont___")] + public static extern string CodeGenerator_getBaseFont(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setBaseFontSize___")] + public static extern void CodeGenerator_setBaseFontSize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getBaseFontSize___")] + public static extern string CodeGenerator_getBaseFontSize(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setIncludeStyle___")] + public static extern void CodeGenerator_setIncludeStyle(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_disableTrailingNL___")] + public static extern void CodeGenerator_disableTrailingNL(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setStyleInputPath___")] + public static extern void CodeGenerator_setStyleInputPath(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setStyleOutputPath___")] + public static extern void CodeGenerator_setStyleOutputPath(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setEncoding___")] + public static extern void CodeGenerator_setEncoding(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getStyleInputPath___")] + public static extern string CodeGenerator_getStyleInputPath(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getStyleOutputPath___")] + public static extern string CodeGenerator_getStyleOutputPath(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setTitle___")] + public static extern void CodeGenerator_setTitle(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getTitle___")] + public static extern string CodeGenerator_getTitle(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setStartingInputLine___")] + public static extern void CodeGenerator_setStartingInputLine(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setMaxInputLineCnt___")] + public static extern void CodeGenerator_setMaxInputLineCnt(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setFilesCnt___")] + public static extern void CodeGenerator_setFilesCnt(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setKeyWordCase___")] + public static extern void CodeGenerator_setKeyWordCase(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setEOLDelimiter___")] + public static extern void CodeGenerator_setEOLDelimiter(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setPluginParameter___")] + public static extern void CodeGenerator_setPluginParameter(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_resetSyntaxReaders___")] + public static extern void CodeGenerator_resetSyntaxReaders(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_initPluginScript___")] + public static extern bool CodeGenerator_initPluginScript(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_syntaxRequiresTwoPassRun___")] + public static extern bool CodeGenerator_syntaxRequiresTwoPassRun(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_clearPersistentSnippets___")] + public static extern void CodeGenerator_clearPersistentSnippets(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setStyleCaching___")] + public static extern void CodeGenerator_setStyleCaching(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxRegexError___")] + public static extern string CodeGenerator_getSyntaxRegexError(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxLuaError___")] + public static extern string CodeGenerator_getSyntaxLuaError(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxDescription___")] + public static extern string CodeGenerator_getSyntaxDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxEncodingHint___")] + public static extern string CodeGenerator_getSyntaxEncodingHint(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getThemeDescription___")] + public static extern string CodeGenerator_getThemeDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxCatDescription___")] + public static extern string CodeGenerator_getSyntaxCatDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getThemeContrast___")] + public static extern float CodeGenerator_getThemeContrast(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getThemeCatDescription___")] + public static extern string CodeGenerator_getThemeCatDescription(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getPosTestErrors___")] + public static extern global::System.IntPtr CodeGenerator_getPosTestErrors(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getSyntaxReader___")] + public static extern global::System.IntPtr CodeGenerator_getSyntaxReader(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_readUserStyleDef___")] + public static extern string CodeGenerator_readUserStyleDef(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getStyleDefinition___")] + public static extern string CodeGenerator_getStyleDefinition(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getHoverTagOpen___")] + public static extern string CodeGenerator_getHoverTagOpen(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_getHoverTagClose___")] + public static extern string CodeGenerator_getHoverTagClose(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_lsOpenDocument___")] + public static extern bool CodeGenerator_lsOpenDocument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_lsCloseDocument___")] + public static extern bool CodeGenerator_lsCloseDocument(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_lsAddSemanticInfo___")] + public static extern bool CodeGenerator_lsAddSemanticInfo(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_lsAddHoverInfo___")] + public static extern void CodeGenerator_lsAddHoverInfo(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_lsAddSyntaxErrorInfo___")] + public static extern void CodeGenerator_lsAddSyntaxErrorInfo(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_isHoverProvider___")] + public static extern bool CodeGenerator_isHoverProvider(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_isSemanticTokensProvider___")] + public static extern bool CodeGenerator_isSemanticTokensProvider(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLAttachAnchors___")] + public static extern void CodeGenerator_setHTMLAttachAnchors(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLOrderedList___")] + public static extern void CodeGenerator_setHTMLOrderedList(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLInlineCSS___")] + public static extern void CodeGenerator_setHTMLInlineCSS(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLEnclosePreTag___")] + public static extern void CodeGenerator_setHTMLEnclosePreTag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLUseNonBreakingSpace___")] + public static extern void CodeGenerator_setHTMLUseNonBreakingSpace(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLAnchorPrefix___")] + public static extern void CodeGenerator_setHTMLAnchorPrefix(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setHTMLClassName___")] + public static extern void CodeGenerator_setHTMLClassName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setLATEXReplaceQuotes___")] + public static extern void CodeGenerator_setLATEXReplaceQuotes(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setLATEXNoShorthands___")] + public static extern void CodeGenerator_setLATEXNoShorthands(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setLATEXPrettySymbols___")] + public static extern void CodeGenerator_setLATEXPrettySymbols(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setLATEXBeamerMode___")] + public static extern void CodeGenerator_setLATEXBeamerMode(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setRTFPageSize___")] + public static extern void CodeGenerator_setRTFPageSize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setRTFCharStyles___")] + public static extern void CodeGenerator_setRTFCharStyles(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setRTFPageColor___")] + public static extern void CodeGenerator_setRTFPageColor(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setSVGSize___")] + public static extern void CodeGenerator_setSVGSize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setESCTrueColor___")] + public static extern void CodeGenerator_setESCTrueColor(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("highlight-v4_9_0_0", EntryPoint="CSharp_SmdnfLibHighlightSharpfBindings_CodeGenerator_setESCCanvasPadding___")] + public static extern void CodeGenerator_setESCCanvasPadding(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); +} + +} diff --git a/src/Smdn.LibHighlightSharp.Bindings/libhighlight/highlight-v4_9_0_0.SHA1SUMS.txt b/src/Smdn.LibHighlightSharp.Bindings/libhighlight/highlight-v4_9_0_0.SHA1SUMS.txt new file mode 100644 index 0000000..fb6798f --- /dev/null +++ b/src/Smdn.LibHighlightSharp.Bindings/libhighlight/highlight-v4_9_0_0.SHA1SUMS.txt @@ -0,0 +1,4 @@ +91c2de245b12a5bdab8e807666295b20dbbe0996 *../runtimes/osx-x64/native/libhighlight-v4_9_0_0.dylib +b866d92d8f67adddc2a7c461e311237feca98625 *../runtimes/ubuntu.20.04-x64/native/libhighlight-v4_9_0_0.so +e344a68063e20c9af5b3fde7beb95d9b9c49ed0c *../runtimes/ubuntu.22.04-x64/native/libhighlight-v4_9_0_0.so +9d2fc74e1434073b4c43b8e8fd30c9ab653f0a8d *../runtimes/win-x64/native/highlight-v4_9_0_0.dll diff --git a/src/Smdn.LibHighlightSharp.Bindings/runtimes/osx-x64/native/libhighlight-v4_9_0_0.dylib b/src/Smdn.LibHighlightSharp.Bindings/runtimes/osx-x64/native/libhighlight-v4_9_0_0.dylib new file mode 100755 index 0000000..e10d589 Binary files /dev/null and b/src/Smdn.LibHighlightSharp.Bindings/runtimes/osx-x64/native/libhighlight-v4_9_0_0.dylib differ diff --git a/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.20.04-x64/native/libhighlight-v4_9_0_0.so b/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.20.04-x64/native/libhighlight-v4_9_0_0.so new file mode 100755 index 0000000..f84a333 Binary files /dev/null and b/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.20.04-x64/native/libhighlight-v4_9_0_0.so differ diff --git a/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.22.04-x64/native/libhighlight-v4_9_0_0.so b/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.22.04-x64/native/libhighlight-v4_9_0_0.so new file mode 100755 index 0000000..a7a394c Binary files /dev/null and b/src/Smdn.LibHighlightSharp.Bindings/runtimes/ubuntu.22.04-x64/native/libhighlight-v4_9_0_0.so differ diff --git a/src/Smdn.LibHighlightSharp.Bindings/runtimes/win-x64/native/highlight-v4_9_0_0.dll b/src/Smdn.LibHighlightSharp.Bindings/runtimes/win-x64/native/highlight-v4_9_0_0.dll new file mode 100755 index 0000000..3f76b33 Binary files /dev/null and b/src/Smdn.LibHighlightSharp.Bindings/runtimes/win-x64/native/highlight-v4_9_0_0.dll differ