Commit 23487996 authored by Sebastian Kehl's avatar Sebastian Kehl
Browse files

Remove hello-world code.

With the cumsum example the pure 'hello world' example has
become superfluous.
parent 44780b23
from ._hello import hello
#include <iostream>
#include <pybind11/pybind11.h>
namespace py = pybind11;
void hello() {
std::cout << "Hello, World!" << std::endl;
}
PYBIND11_MODULE(_hello, m) {
m.doc() = "Package to say hi";
m.def("hello", &hello, "Prints \"Hello, World!\"");
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment