您的位置:首页 > 移动开发 > Objective-C

Pidl is an Interface Description Language for gobject c-code with automatic language bindings.

2012-03-12 17:29 477 查看
Pidl is an Interface Description Language for gobject c-code with automatic language bindings.

The programmer mainly writes a .pidl file and writes .c files containing method implementations. Much gobject boilerplate is hidden.

Typically adding a new method is just adding the signature in the .pidl file, then implement just the c function doing the implementation.

Adding a new property to a (gobject) class is just a matter of adding the type to the pidl file. Thats it.

Adding a signal also only needs the definition.

Language bindings are automatically generated. (Currently for Python, C++ and C#)

The ratio of generated code to handwritten code is in the ballpark of 50 to 1.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐