Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to write c++ function that can consume python3 bytes? #49

Closed
kvikas opened this issue Dec 25, 2015 · 1 comment
Closed

How to write c++ function that can consume python3 bytes? #49

kvikas opened this issue Dec 25, 2015 · 1 comment

Comments

@kvikas
Copy link

kvikas commented Dec 25, 2015

Hello,

This is not necessarily an issue, but a question. Sorry to ask here. I couldn't find an appropriate forum to ask questions about pybind11.

I've a python3 program and I want to rewrite some of the functionality in C++. The function I want to rewrite takes bytes as input. What would be the correct signature for corresponding C++ function? I'm trying to use pybind11 for the binding.

Thanks.

@wjakob
Copy link
Member

wjakob commented Dec 26, 2015

It's currently not supported -- see PR #48.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants