From bea781c97b383c90df7e201d27709017f680374b Mon Sep 17 00:00:00 2001 From: nima Date: Fri, 8 Aug 2008 07:27:36 +0000 Subject: Fixed many major bugs (all of which were expected based on the way we mass converted all the `case' blocks. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@64 abc39116-655e-4be6-ad55-d661dc543056 --- dmidecode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dmidecode.h') diff --git a/dmidecode.h b/dmidecode.h index b4053f1..ab4f820 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -27,7 +27,8 @@ struct dmi_header { }; const char *dmi_dump(struct dmi_header *h, char *_); -void dmi_decode(struct dmi_header *h, u16 ver, PyObject *pydata); +//void dmi_decode(struct dmi_header *h, u16 ver, PyObject *pydata); +PyObject* dmi_decode(struct dmi_header *h, u16 ver); int address_from_efi(size_t *address, char *_); void to_dmi_header(struct dmi_header *h, u8 *data); int smbios_decode(u8 *buf, const char *devmem, PyObject* pydata); -- cgit