%module py_hyfimodel
%{
extern void fill_energy_arrays(double temperature_c,
              double na_conc,
	      double mg_conc,
	      int maxloop);

extern double compute_single_stranded_free_energy(char *seq, 
	int len);

extern double compute_free_energy(char* seq1,
				int len1,
				char* seq2,	
			   int len2);
%}
#define _POSIX_SOURCE


%include "carrays.i"

%array_class(double,doubleArray);

extern void fill_energy_arrays(double temperature_c,
              double na_conc,
	      double mg_conc,
	      int maxloop);

extern double compute_single_stranded_free_energy(char *seq, 
	int len);

extern double compute_free_energy(char* seq1,
				int len1,
				char* seq2,	
			   int len2);


