c# Programming Glossary: destroymydata
C# performance - Using unsafe pointers instead of IntPtr and Marshal http://stackoverflow.com/questions/17549123/c-sharp-performance-using-unsafe-pointers-instead-of-intptr-and-marshal struct MyData myData int length __declspec dllexport void DestroyMyData struct MyData myData #endif _MY_LIB_H_ MyLib.c #include stdlib.h.. for i 0 i length i myData bytes i unsigned char i 256 void DestroyMyData struct MyData myData if myData NULL if myData bytes NULL free.. printf myData bytes is NULL else printf myData is NULL n DestroyMyData myData getchar C# application which uses IntPtr and Marshal..
|