Skip to content

How to add a public constant #44

@gri6507

Description

@gri6507

Let's say that my C++ code has

namespace {
   const std::string foo = "Hello";
}

What is the right way for me to expose the foo constant via PyBindGen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions