Hi,

Looking at the code of vdev, I've found an interesting library unknown until now for me:

http://sglib.sourceforge.net/doc/index.html#array_exam <http://sglib.sourceforge.net/doc/index.html#array_exam>

Sglib consists of a single header file written in C, and Jude Nelson includes it in libvdev:

https://github.com/jcnelson/vdev/blob/master/libvdev/sglib.h <https://github.com/jcnelson/vdev/blob/master/libvdev/sglib.h>

This header provides generic implementation of most common algorithms for arrays and lists. In our case, it allows the use of some functions analogous to the type and use of std::vector in C++:

 - sglib_cstr_vector_init ( ... )

 - sglib_cstr_vector_push_back ( ... )

 - sglib_cstr_vector_size ( ... )

 - sglib_cstr_vector_free ( ... )

Anybody knows where can i find more information about this library?

Cheer,

Aitor.

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to