* errors in bpyui draw scripts were segfaulting

* added PyLineSpit(), useful for debugging so you can easily find the 
line of the python script running.
This commit is contained in:
2009-03-02 20:18:29 +00:00
parent 24e8d7aa74
commit c2fdac64c4
3 changed files with 15 additions and 2 deletions

View File

@@ -35,4 +35,5 @@ PyObject *BPY_flag_to_list(BPY_flag_def *flagdef, int flag);
int BPY_flag_from_seq(BPY_flag_def *flagdef, PyObject *seq, int *flag);
void PyObSpit(char *name, PyObject *var);
void PyLineSpit(void);
void BPY_getFileAndNum(char **filename, int *lineno);