addressable intial commit

This commit is contained in:
Le Duc Anh
2025-10-22 16:34:56 +07:00
parent e95d5c660d
commit 9fa1c93e27
51 changed files with 1368 additions and 42 deletions
+14
View File
@@ -0,0 +1,14 @@
---
alwaysApply: true
---
When convert cpp to c#
- unsigned long convert to uint
- unsigned char to byte
- task_char to ushort
- Keeps all the naming
- keeps all the original chinese comments. But add a translated English version side by side
- struct has to be public
- struct has to be use [StructLayout(LayoutKind.Sequential, Pack = 1)]
- all field in struct has to be public
- array has to be use [MarshalAs(UnmanagedType.ByValArray, SizeConst = )] to fix the array size