On Mon, 2012-09-10 at 15:01 -0400, Rafael Schloming wrote:
> Can you comment on why you decided to inline it directly into the C header
> files as opposed to splitting it out somehow? Given William's comment on
> exceptions, it seems like it might well expand/evolve enough to make it
> awkward to inline.

This was partly for speed, and partly because I tend to think of C and C
++ as peer languages so that if you're using proton from C++ you would
just use the same include files as using it from C.

I'm minded more to add exceptions on top of this very slim binding so
that you could use proton from C++ with no more excess baggage than if
you were using C (but with a much nicer syntax). This is especially true
of the lower level classes rather than the rather higher level Messenger
class.

Andrew



Reply via email to