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.
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.
相关文章推荐
- Linking code for an enhanced application binary interface (ABI) with decode time instruction optimization
- Open quote is expected for attribute "property" associated with an element type "result".错误
- Dialog throwing "Unable to add window — token null is not for an application” with getApplication()
- Open quote is expected for attribute "{1}" associated with an element type "name".
- Design Concepts with Code: An Approach for Developers
- Open quote is expected for attribute "{1}" associated with an element type "type".
- Open quote is expected for attribute "name" associated with an element type "item".
- Open quote is expected for attribute "class" associated with an elemen的解决方案
- Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical
- The prefix "p" for attribute "p:myservice-ref" associated with an element type "bean" is not bound.
- jquery crossdomain post plugin i changed bit test code suite for my env,due to the windows env is not familiar with github operation,i didn't forked form the original resposeritoy
- There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance
- Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier解决办法
- Error on line 24 of document : Open quote is expected for attribute "{1}" associated with an eleme
- 配置c3p0-config.xml报错:Open quote is expected for attribute "name" associated with an element type "pro
- JavaEE_SSM_报错_Open quote is expected for attribute "property" associated with an element
- Could not instantiate bean class [java.util.List]: Specified class is an interface] with root cause
- Unigui is compiled with:CodeGear™ Delphi® 2007 for Win32® R2 Version 11.0.2902.10471
- An App ID with identifier is not available.Please enter a different string. 或者这样的,fail to code sign
- A LAN connection is already configured with the IP address that is required for automatic IP address