コード例 #1
0
    public static Signature Create(SignatureType type, ISignatureOwner owner, Parser.SignatureData sd, ApiTypeBuilder api)
    {
        var s = CustomSignatures.ForFunction(type, owner, sd, api);

        if (s == null)
        {
            return(new Signature(type, owner, sd, api));
        }
        else
        {
            return(s);
        }
    }
コード例 #2
0
ファイル: Signature.cs プロジェクト: jooo000hn/ChromiumFX
    public static Signature Create(SignatureType type, string cefName, CefConfigData cefConfig, CfxCallMode callMode, Parser.SignatureData sd, ApiTypeBuilder api)
    {
        var s  = new Signature(type, sd, api);
        var cs = CustomSignatures.ForFunction(s, cefName, cefConfig);

        if (cs == null)
        {
            s.DebugPrintUnhandledArrayArguments(cefName, cefConfig, callMode);
            AllSignatures.Add(s);
            return(s);
        }
        else
        {
            cs.DebugPrintUnhandledArrayArguments(cefName, cefConfig, callMode);
            AllSignatures.Add(cs);
            return(cs);
        }
    }