bmerry / clogs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stabilise the ABI

bmerry opened this issue · comments

The internal details of the classes need to be hidden behind a pointer to an incomplete type, so that the ABI will not break if the internal details do.

Possibly a C API should be used with an optional C++ wrapper on top.

Reported by: bmerry

Original Ticket: clogs/tickets/11

  • status changed from new to closed
  • resolution set to fixed

I left the API the same, and just made each object contain a pointer to the "real" object, with pass-through wrapper functions.

Fixed in commit 1291487

Original comment by: bmerry