1 2 3 4 5 6 7 8 9 10 11 | // C# unsafe { fixed (float* ptr_f = f) //or equivalently "... = &f[0]" address of f[0] fixed (float* ptr_f2 = f2) //or equivalently "... = &f2[0]" address of f2[0] { // to C++ Functions // sending float* variable function( ptr_f, ptr_f2 ); } } | cs |
- 2019/07/29 13:56
- Syaris.egloos.com/6513326
- 덧글수 : 0



덧글