Subject Re: [Firebird-Architect] External Engines (and Plugins)
Author Adriano dos Santos Fernandes
Adriano dos Santos Fernandes escreveu:
> The files are all using int's to represent sizes, positions and whatever
> matters. Though I prefer int's, there is no problem if you all decides
> to using uint's.
Doing it.

> I also plan to remove all Error parameters where errors
> are expected to never happen (Values::getCount, for example).
Another thing I missed... Plugin interface born later, and you see
strings are just returned as pointer, and we don't deal with lengths.
They're all null-terminated.

I'd also want to remove lengths of many things (names, entrypoints, but
not of Value::getString) in the others interfaces. Do you see any problem?

While all this functions deals with char*, assuming we have wide
character sets usable as attachment charset in the future, the callers
are expected to cast the pointers, i.e., null-terminated UTF-16 will end
with two ((char) '\0'), one ((short) 0).


Adriano