Few minor remarks regarding libsmi version 0.4.8

Hi all,
I am using libsmi (last version 0.4.8) and I am creating a Windows C++ class around it. I have few minor remarks with that excellent library:
1. The function smiGetClass() as declared in smi.h (line 464) has a parameter named "class". This parameter name is not allowed when compiling in C++ because the "class" word is a reserved C++ keyword. Is it possible to rename it to something else?
2. The function smiPack() declared in smi.h (line 618) seems to not exist in sources files of the library (but smiUnpack() exists).
3. The function smiGetEvent() declared in smi.h (line 497) seems to not exist in sources files of the library.
Kind regards
Raymond

On Tue, Feb 16, 2010 at 09:10:50PM +0100, Raymond Mercier wrote:
I am using libsmi (last version 0.4.8) and I am creating a Windows C++ class around it. I have few minor remarks with that excellent library:
- The function smiGetClass() as declared in smi.h (line 464) has a
parameter named "class". This parameter name is not allowed when compiling in C++ because the "class" word is a reserved C++ keyword. Is it possible to rename it to something else?
I think this has long been fixed in the repository.
- The function smiPack() declared in smi.h (line 618) seems to not
exist in sources files of the library (but smiUnpack() exists).
Yep, someone has to implement it.
- The function smiGetEvent() declared in smi.h (line 497) seems to not
exist in sources files of the library.
Same here.
/js
participants (2)
-
Juergen Schoenwaelder
-
Raymond Mercier