Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyd.pyd;
- import marscamera_c_interface;
- extern (C) void PydMain() {
- // Def! calls must happen before module_init
- def!(__camera_find, PyName!"find")();
- def!(__camera_close, PyName!"close")();
- def!(__acquire, PyName!"acquire")();
- def!(__get_image, PyName!"getImage")();
- // initialise the module
- module_init();
- // !class_wrap calls must happen after module_init
- }
Advertisement
Add Comment
Please, Sign In to add comment