Comments (2)
Hey @shayded-exe,
This is a great idea. Partial is already applied to the generated static class, so it makes sense to have it for the generated struct as well.
You can find the code that would need to be changed here: https://github.com/bottlenoselabs/c2cs/blob/main/src/cs/production/C2CS.Tool/Features/WriteCodeCSharp/Domain/CodeGenerator/Handlers/StructCodeGenerator.cs#L37
from c2cs.
Cool, I'll make a PR when I get around to it!
from c2cs.
Related Issues (20)
- Multi-pass: C Locations
- How to use StringBuilder for char* used as output HOT 10
- Reduce noise of changes of generated C# in Git log HOT 9
- Not external function
- Add new ref types for ref structs? HOT 1
- Bug if native strings are moved in memory HOT 7
- Ability to remap pointer types HOT 2
- Using custom code makes verification of code compile always fail HOT 2
- Some new C# features do not work in Unity HOT 1
- Re-write from scratch using TDD
- Support .NET Framework 4.8 HOT 1
- Eh it is sometime errors :( HOT 5
- Add option to disable C# 10 features (e.g. global usings) HOT 2
- Invalid code generated for static constants of int enum types HOT 3
- Improve type aliases for function pointers HOT 2
- Add option to declare types outside of class HOT 1
- generated code not compiling due to missing cast to an enum HOT 8
- Anonymous fields not used HOT 7
- helloworld example not complete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c2cs.