Lua如何高效读写C语言风格的动态数组?
- 内容介绍
- 文章标签
- 相关推荐
本文共计233个文字,预计阅读时间需要1分钟。
假设您已经在C/C++代码中分配了一个C风格的双打动态数组,如下所示:
cdouble *x;int size; // Size of array is whether there is a possibility to write lua code (at least is used for lua's C/C++ code)
以下是对上述内容的简化改写,不超过100个字:
C/C++中已分配C风格双打动态数组。
本文共计233个文字,预计阅读时间需要1分钟。
假设您已经在C/C++代码中分配了一个C风格的双打动态数组,如下所示:
cdouble *x;int size; // Size of array is whether there is a possibility to write lua code (at least is used for lua's C/C++ code)
以下是对上述内容的简化改写,不超过100个字:
C/C++中已分配C风格双打动态数组。

