sakrejda / protostan

Thin protobuf interface wrapper for Stan
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Expose C interface #11

Closed ariddell closed 8 years ago

ariddell commented 8 years ago

Do we need to drop the namespaces for the shim to be usable from programming languages that only wrap C functions? Will everything need to be declared extern "C" or should the shim library be written in C?

ariddell commented 8 years ago

This looks very helpful: https://isocpp.org/wiki/faq/mixing-c-and-cpp

ariddell commented 8 years ago

This might have to wait until there's a C library supporting protobuf version 3.

sakrejda commented 8 years ago

Looks like. I'm going to close for now, I think we can come up with a better first project.