swig
n. 一大口;痛饮;畅饮
v. 大口喝;畅饮,痛饮
2026-03-22 12:58 浏览次数 29
n. 一大口;痛饮;畅饮
v. 大口喝;畅饮,痛饮
"he finished it at a single gulp"
"The men gulped down their beers"
"He slugged me so hard that I passed out"
binge drinking酗酒;豪饮
drink like a fish大喝;豪饮;一大口一大口地喝酒
hoptoad蟾蜍;痛饮
swig up拉高
swig with push off摆动中推起
Kent Swig地产发展商斯威格
take a big swig一阵狂饮
swig in拉紧
swig away连续地大口喝
compilation requires a few steps: the first step generates the wrapper for your code: $ swig -php secret.i.
编译需要几个步骤:第一步是生成代码的包装程序:$swig-phpsecret.i。
briefly, the swig file declares the name of the extension in line 1.
简单来讲,swig文件一般在第 1行声明扩展的名称。
xs only generates c code, and swig only works on c (or c++) include files in order to generate its output.
xs只能生成c 语言代码,而swig只能工作在c(或 c++)的包含文件上,以生成它的输出。
listing 4 shows secret.i, a swig template for the new extension.
清单4所示的secret.i 就是这个新扩展的swig模板。
「i’m terribly sorry, 」 begins a well-spoken young woman, 「but could i have a swig of your beer?
“十分抱歉,」一位彬彬有礼的女士开口问道,「我能喝口你的啤酒么?
if a significant amount of git/mercurial code is to be reused, then a git implementation would be in c, and a mercurial one would be in python (or perhaps c++ with swig bindings).
如果想重用git/hg代码的一个显着区别,那就是git的实现将使用的是c,而hg使用的将是python(或许有可能是绑定了swig的c++)。
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来帮您编写),接着构造一个有序的模块,随后通常还有很多细节需要处理。
swig transforms secret.i to secret_wrap.c.
swig 将secret.i转变为 secret_wrap.c。
a complete almanac of swig syntax and options is beyond the scope of this article.
对swig语法和选项的全面解读超出了本文的讨论范围。
using an extension wrapper like swig (see resources), you can create a c extension that executes the most time consuming elements of your program as c code.
使用像swig这样的扩展封装器(请参阅 参考资料),可以创建c扩展,它将程序中最耗时元素作为c代码执行。
the burly siberian sitting next to me whoops with delight and takes another swig from the bottle of whisky he「ss brought on board. "we」re flying into tropical heat!
我邻座的西伯利亚壮汉喝了一下彩,又喝了一口他带上飞机的威士忌说,“我们飞向炎热的热带啦!」
as of the end of 2009, the most recent release of swig is v1.3.40 (see resources).
截止到2009 年底,swig的最新版本是 v1.3.40(参见 参考资料)。
although writing a php extension isn't particularly onerous, swig simplifies the task further, largely by automating the work required to intertwine php and c or c++ code.
尽管编写一个php扩展并不是很困难,而swig 的确进一步简化了这项任务,这主要是因为它自动化了结合php与c或 c++所需的工作。
compare and contrast with xs and swig
与xs和swig相比较
russian prime minister vladimir putin and former armenian president robert kocharian take a swig at putin’s vacation home at sochi, a resort city on the black sea.
俄罗斯总理弗拉基米尔·普京和亚美尼亚前总统罗伯特·柯查扬在普金在黑海游览城市索契的度假屋里痛饮。
he takes a swig of water, then points to a towering outcrop of gray rock just to the east.
他猛灌一口水,指向东方不远处,一座灰色大山的尖端。
the sergeant takes another swig of coffee and focuses his mind on goat number 17 - which promptly lets out a silent bleat, keels over and dies.
中士又喝了一大口咖啡,把自己的意念集中在17号山羊身上,那只羊立刻无声地叫唤了一下,失去平衡倒地而亡。