Briefly, the SWIG file declares the name of the extension in line 1.
简单来讲,SWIG文件一般在第1行声明扩展的名称。
A tool that helps a great deal in this whole process is SWIG, which can be persuaded to generate a lot of the XS code for you.
在这整个的过程中,SWIG是一个非常有用的工具,它可以被用来为您生成大量的XS代码。
You had to write interface code in the XS language (or get SWIG to do that for you), build an organized module, and generally keep track of a whole lot of details.
您必须用XS语言来编写接口代码(或让SWIG来帮您编写),接着构造一个有序的模块,随后通常还有很多细节需要处理。
应用推荐