Simplified Wrapper and Interface Generator
SWIG's advantages are evident in a number of ways. It adds flexibility to testing procedures, it can be used for prototyping and helps in system integration. Very few modifications of the code are needed. Moreover, SWIG directives can be easily extended.
On the other hand, the wrapper has some limitations when it comes to C and C++ programs, because SWIG's author did not mean it to be a fully blown parser.
The following are some examples of unacceptable input.
Functions with variable-length parameters will not work.
Function pointers and array declarations are problematic; they could be hidden from the interface file by using typdef.
Most features of C++ such as templates and operator overloading are not supported.
Nevertheless, SWIG is still a powerful tool, especially since it can be integrated with Microsoft Visual C++.
SWIG is a powerful tool that runs on multiple platforms and supports multiple languages. It served my goal of testing the system within the specified time constraints. It is a neat tool that still has much room for expansion. If you are in the business of testing, prototyping SWIG is the way to go.
|Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform||Jan 23, 2015|
|Designing with Linux||Jan 22, 2015|
|Wondershaper—QOS in a Pinch||Jan 21, 2015|
|Ideal Backups with zbackup||Jan 19, 2015|
|Non-Linux FOSS: Animation Made Easy||Jan 14, 2015|
|Internet of Things Blows Away CES, and it May Be Hunting for YOU Next||Jan 12, 2015|
- Designing with Linux
- Readers' Choice Awards 2014
- Wondershaper—QOS in a Pinch
- Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform
- Ideal Backups with zbackup
- One Tail Just Isn't Enough
- Internet of Things Blows Away CES, and it May Be Hunting for YOU Next
- New Products
- Slow System? iotop Is Your Friend
- Tech Tip: Really Simple HTTP Server with Python
Editorial Advisory Panel
Thank you to our 2014 Editorial Advisors!
- Jeff Parent
- Brad Baillio
- Nick Baronian
- Steve Case
- Chadalavada Kalyana
- Caleb Cullen
- Keir Davis
- Michael Eager
- Nick Faltys
- Dennis Frey
- Philip Jacob
- Jay Kruizenga
- Steve Marquez
- Dave McAllister
- Craig Oda
- Mike Roberts
- Chris Stark
- Patrick Swartz
- David Lynch
- Alicia Gibb
- Thomas Quinlan
- Carson McDonald
- Kristen Shoemaker
- Charnell Luchich
- James Walker
- Victor Gregorio
- Hari Boukis
- Brian Conner
- David Lane