Feature #50
Add support for COSMOS-type method plugs
| Status: | Closed | Start date: | 03/14/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Compiler | Spent time: | - | |
| Target version: | 1.6 | |||
| Difficulty: |
Description
These method plugs patch external calls without having to modify the source assemblies.
These plugs would reside in their own assembly.
This is part of the COSMOS/MOSA collaboration.
Here's an example of a COSMOS plug:
[Plug(Target = typeof(global::System.Math))]
public class MathImpl
{
public static double Abs(double value)
{
if (value < 0)
{
return -value;
}
else
{
return value;
}
}
}
More information is available here C# Open Source Managed Operating System - Intro to Plugs
MOSA implementation can use these plug method declaration instead to reduce implementation complexity:
[PlugMethod(@"System.Math.Abs, corlib")]
Subtasks
Associated revisions
- Implemented Method Plugs (closes #50)
History
Updated by Phil Garcia over 1 year ago
- Target version changed from 1.4 to 1.6
Updated by Phil Garcia about 1 year ago
- Description updated (diff)
- Assignee set to Phil Garcia
Updated by Phil Garcia about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 8f33c5b614bae40d050504857806f604b9e43e3c.