Learning Cython Programming by 2013

Learning Cython Programming by 2013

Author:2013
Language: eng
Format: epub
Publisher: Packt Publishing


Hooking everything together

We now have to fiddle with Tmux just a tiny bit more, but it's fairly painless, and once we are done we are free to be creative. Fundamentally, we should call the cmd_entry initialization hook in server.c just before we forget about it:

#ifdef HAVE_PYTHON Py_InitializeEx (0); tmux_init_cython (); #endif server_loop(); #ifdef HAVE_PYTHON Py_Finalize (); #endif

Now that this is done, we need to make sure we add the cmd_entry_python extern declaration to tmux.h:

extern const struct cmd_entry cmd_wait_for_entry; #ifdef HAVE_PYTHON # include "cmdpython.h" #endif



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.