Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-12-16 03:17:59 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-12-16 03:17:59 +0300
commit966134c4fd9ccb1129e0e302c92ca41386d9995a (patch)
treeea5ba0bf9055f2b86e6f236983cb67b1b4c810ae /source/blender/blenkernel
parent050dc02134d71ba984fd1dd900ffccf45cbd6865 (diff)
Trying again to fix build problems with traditional makefiles.
I took a look at how other BPY_* functions were working in blenkernel/ and got to bad level calls (ah, so this is what that is for...). As a test, I added BPY_clear_script to the "stubs", argh. If this works, I'm curious: are these bad level calls needed only by some targets (irix) because of peculiarities in compiler linkage? Thanks again, Chris, if this doesn't work, I'll move or copy the function to script.c, probably, also adding Python.h to it.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/BKE_bad_level_calls.h2
-rw-r--r--source/blender/blenkernel/bad_level_call_stubs/stubs.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_bad_level_calls.h b/source/blender/blenkernel/BKE_bad_level_calls.h
index 045fcb7ba7c..5ff03cc395f 100644
--- a/source/blender/blenkernel/BKE_bad_level_calls.h
+++ b/source/blender/blenkernel/BKE_bad_level_calls.h
@@ -56,7 +56,9 @@ struct Sequence;
void build_seqar(struct ListBase *seqbase, struct Sequence ***seqar, int *totseq);
struct ID;
+struct Script;
void BPY_do_pyscript (struct ID *id, short int event);
+void BPY_clear_script (struct Script *script);
/* writefile.c */
struct Oops;
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
index ca18b4e2846..1df490f1cd3 100644
--- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c
+++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c
@@ -72,7 +72,8 @@ void build_seqar(ListBase *seqbase, struct Sequence ***seqar, int *totseq)
}
void BPY_do_pyscript(ID *id, short int event){}
-void BPY_free_compiled_text(struct Text *text) {};
+void BPY_clear_script(Script *script){}
+void BPY_free_compiled_text(struct Text *text){}
/* writefile.c */
/* struct Oops; */