Apply 回调Object Applyid本页总览id 名称 id() - 此方法被 present() 外部函数调用来识别对象名称 语法 int id( string id ); 描述 present(3) 外部函数呼叫 id() 以检测对象是否以字符串 `id` 命名。如果对象希望以字符串 `id` 为名,id() 返回 1,否则返回 0 。 参考 present(3) 翻译 雪风([email protected])