upm/src/gas/jsupm_gas.i
Zion Orent 7c41db4c83 gas: Modifications to js swig file to use appropriate SWIG typemap
Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
2015-01-19 11:54:03 -08:00

40 lines
496 B
OpenEdge ABL

%module jsupm_gas
%include "../upm.i"
%include "../carrays_uint16_t.i"
%typemap(in) uint16_t * {
void *argp = 0 ;
int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
$1 = (uint16_t *)(argp);
}
%include "gas.h"
%{
#include "gas.h"
%}
%include "mq2.h"
%{
#include "mq2.h"
%}
%include "mq3.h"
%{
#include "mq3.h"
%}
%include "mq5.h"
%{
#include "mq5.h"
%}
%include "mq9.h"
%{
#include "mq9.h"
%}
%include "tp401.h"
%{
#include "tp401.h"
%}