mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 17:17:57 +00:00
Deactivated debugging code.
This commit is contained in:
parent
c6b69df7d0
commit
3897c7c990
|
@ -190,9 +190,6 @@ namespace CHeaderToXML
|
||||||
string funcname = null;
|
string funcname = null;
|
||||||
GetFunctionNameAndType(words, out funcname, out rettype);
|
GetFunctionNameAndType(words, out funcname, out rettype);
|
||||||
|
|
||||||
if (funcname == "CreateContextFromType")
|
|
||||||
Debugger.Break();
|
|
||||||
|
|
||||||
var paramaters_string = Regex.Match(line, @"\(.*\)").Captures[0].Value.TrimStart('(').TrimEnd(')');
|
var paramaters_string = Regex.Match(line, @"\(.*\)").Captures[0].Value.TrimStart('(').TrimEnd(')');
|
||||||
|
|
||||||
// This regex matches function parameters.
|
// This regex matches function parameters.
|
||||||
|
@ -204,7 +201,11 @@ namespace CHeaderToXML
|
||||||
// where [parameter name] can either be inside comments (/* ... */) or not.
|
// where [parameter name] can either be inside comments (/* ... */) or not.
|
||||||
var get_param = new Regex(@"(\w+\s\(\*\w+\)\s*\(.*\)\s*(/\*.*?\*/|\w+) | (const\s)?\w+\s*\**\s*(/\*.*?\*/|\w+(\[.*?\])?)),?", RegexOptions.IgnorePatternWhitespace);
|
var get_param = new Regex(@"(\w+\s\(\*\w+\)\s*\(.*\)\s*(/\*.*?\*/|\w+) | (const\s)?\w+\s*\**\s*(/\*.*?\*/|\w+(\[.*?\])?)),?", RegexOptions.IgnorePatternWhitespace);
|
||||||
|
|
||||||
|
#if false
|
||||||
|
if (funcname == "CreateContextFromType")
|
||||||
|
Debugger.Break();
|
||||||
var ars = get_param.Matches(paramaters_string).OfType<Match>().Select(m => m.Captures[0].Value.TrimEnd(','));
|
var ars = get_param.Matches(paramaters_string).OfType<Match>().Select(m => m.Captures[0].Value.TrimEnd(','));
|
||||||
|
#endif
|
||||||
|
|
||||||
var fun =
|
var fun =
|
||||||
new
|
new
|
||||||
|
|
Loading…
Reference in a new issue