How do I add a new interface to the Ming library?
When adding new interfaces to the Ming library, you should complete all of these steps
- Implement the new interface in the src directory
- Add the documentation for the interface directly in the source code. docs are generated using c2man. Look at existing interfaces for examples of how to format you comments in the code to produce good documentation output.
- add the interface to listswf by adding code to util/outputtxt.c
- add the interface to swfto{php|perl|python|tcl|cxx} by adding code to util/outputscript.c
add a new test case in tests/<objectname>/<interfacename>. Assuming you have done the above steps, you just have to implement the C version of the test, and then run "make gen" to create the test for the other languages.
- add an entry in the "NEWS" file.