Prepare for zero-copy sending
This commit is contained in:
@@ -9,6 +9,7 @@ namespace mROA.Codegen.Templates
|
||||
private const string ParametersTypeTag = "parametersType";
|
||||
private const string SuitableTypeTag = "suitableType";
|
||||
private const string FuncInvokingTag = "funcInvoking";
|
||||
private const string CancellationTag = "cancellation";
|
||||
private const string IsTrustedTag = "isTrusted";
|
||||
|
||||
public InvokerTemplate(TemplateDocument template) : base(template) { }
|
||||
@@ -42,5 +43,10 @@ namespace mROA.Codegen.Templates
|
||||
{
|
||||
Define(IsTrustedTag, value);
|
||||
}
|
||||
|
||||
public void DefineCancellation(string value)
|
||||
{
|
||||
Define(CancellationTag, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user