Package: neko
Version: 1.8.0-1
Severity: important

The neko API headers pollute the namespace for really no good reasons. I
mean `struct value` is hardly a good type name. The same goes for many
functions that are _not_ prefixed with neko_ (like val_string IIRC).

I understand that such namespacing makes neko code less compact, though
it makes integrating neko into any project a real pain.

I'd suggest renaming all the types (which doesn't breaks the ABI)
prefixing them all with neko_ (My god there is a "buffer" type ! as if
no-one has one in C...).  Then all non namespaced function have to be
namespaced (that will probably break the ABI, too bad). And
non-namespaced API shall be done through defines like it's done right
now, but on an *OPTIONAL* basis. E.g through a specific include like
neko-nons.h or through an optionnal define like NEKO_NO_NAMESPACE_API.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to