%module javaupm_flex %include "../upm.i" %{ #include "flex.h" %} %include "flex.h"