X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=bindings%2Fftdi.i;h=b1d550a6361a89813e1973f13b2a28582ff337f7;hp=ce1149c84ddd42707d4eaaf248fa1b0984c7bee7;hb=f276fe667f966ba9e39ec67c64443e91aec479f0;hpb=ce3940810901906eb00d67fe259d5540a9008630 diff --git a/bindings/ftdi.i b/bindings/ftdi.i index ce1149c..b1d550a 100644 --- a/bindings/ftdi.i +++ b/bindings/ftdi.i @@ -41,12 +41,12 @@ extern "C" { %clear unsigned short *status; %apply char *OUTPUT { unsigned char *output }; - int ftdi_eeprom_build(struct ftdi_eeprom *eeprom, unsigned char *output); + int ftdi_eeprom_build(struct ftdi_context *ftdi); %clear unsigned char *output; %apply char *OUTPUT { unsigned char *eeprom }; - int ftdi_read_eeprom(struct ftdi_context *ftdi, unsigned char *eeprom); - int ftdi_write_eeprom(struct ftdi_context *ftdi, unsigned char *eeprom); + int ftdi_read_eeprom(struct ftdi_context *ftdi); + int ftdi_write_eeprom(struct ftdi_context *ftdi); %clear unsigned char *eeprom; %apply int *OUTPUT { unsigned int *chipid };