Move exported functions used in capabilityHelper.h from extern "C" to api.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman
2020-02-28 16:58:26 -08:00
parent e0d3618aa6
commit dbc9debbbf
7 changed files with 215 additions and 172 deletions

View File

@@ -52,6 +52,8 @@ from .lib.capnp import (
_write_message_to_fd,
_write_packed_message_to_fd,
_Promise as Promise,
_init_capnp_api,
)
_init_capnp_api()
add_import_hook() # enable import hook by default