Briefly, the SWIG file declares the name of the extension in line 1.
简单来讲,SWIG文件一般在第1行声明扩展的名称。
2
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代码。
3
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.