我正在尝试使用swig来创建perl模块。
%module mymodule
工作,但
%module mymoduele::mymodule
不起作用。有没有办法让这项工作?
您缺少模块名称周围的双引号。据the documentation说:
要为模块提供嵌套命名空间,只需在%module指令中提供完全限定名称: %模块“Foo :: Bar :: Baz” 注意:双引号是必要的。
要为模块提供嵌套命名空间,只需在%module指令中提供完全限定名称:
%module
%模块“Foo :: Bar :: Baz”
注意:双引号是必要的。