Add %pythonbegin directive.

For adding code at the beginning of the generated .py file.
This commit is contained in:
William S Fulton 2013-07-05 06:30:16 +01:00
commit d0af4f50d3
5 changed files with 71 additions and 3 deletions

View file

@ -7,6 +7,7 @@
/* shadow code */
#define %shadow %insert("shadow")
#define %pythoncode %insert("python")
#define %pythonbegin %insert("pythonbegin")
/* ------------------------------------------------------------------------- */