File: test_inter_module_1.cpp

package info (click to toggle)
nanobind 2.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,100 kB
  • sloc: cpp: 12,131; python: 6,190; ansic: 4,785; makefile: 22; sh: 15
file content (8 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#include <nanobind/nanobind.h>
#include "inter_module.h"

namespace nb = nanobind;

NB_MODULE(test_inter_module_1_ext, m) {
    m.def("create_shared", &create_shared);
}