【发布时间】:2012-07-07 22:27:57
【问题描述】:
我在 C 函数的定义中(在动态窗口管理器的源代码中)发现了一个块的奇怪用法。
它是函数定义中的一个块。 Line 944 of this file 有一个例子。 这是关于什么的?
void
grabbuttons(Client *c, Bool focused) {
updatenumlockmask();
{
unsigned int i, j;
unsigned int modifiers[] = { 0, LockMask, numlockmask, numlockmask|LockMask };
//some more code
}
}
【问题讨论】: