monkey0506 / native-generic-delegates

Generic C# delegates for P/Invoke.
Other
8 stars 0 forks source link

`interceptors` branch is garbage code #22

Closed monkey0506 closed 1 month ago

monkey0506 commented 1 month ago

Describe the issue

The interceptors branch was pushed prematurely. Planning and structuring the generator around this feature required far more time and effort than I previously afforded it. The branch (as it stands) is a mess of spaghetti code. Conceptually, this is functional, but this branch requires heavy refactoring before further development efforts can continue.

Proposed solution

The branch should be refactored or rewritten from scratch. More effort and care should be given to planning the structures and logic flow. Specifically, the classes supporting the code generation for the implementation classes, the interceptors, etc. should be decoupled from each other.

Additional considerations

None.

monkey0506 commented 1 month ago

Fixed by #23