%module gpc %{ /* Includes the header in the wrapper code */ #include "gpc.h" %} /* Parse the header file to generate wrappers */ %include "gpc.h"