[Bf-committers] Please reverse this CVS commit:
blender/source/blender/blenkernel/bad_level_call_stubs stubs.c
Gilles J. Seguin
bf-committers@blender.org
Fri, 13 Dec 2002 00:25:53 -0500
Unprivileged User wrote:
>
> nobody 2002/12/12 23:18:25 CET
>
> Modified files:
> blender/source/blender/blenkernel/bad_level_call_stubs stubs.c
>
> Log:
> Had to add a function (BPY_call_importloader) and a variable (bprogname)
> to the stubs to get the player linking with Project Builder
show linking command line
> under OSX.
Why are you not seen BPY_call_importloader
$ cd source/blender/bpython/intern
This is where it is suppose to be(at least for me)
$ nm -B libbpython.a | grep BPY_call_importloader
00000f30 T BPY_call_importloader
Where it is defined
$ grep BPY_call_importloader *.c
BPY_main.c:int BPY_call_importloader(char *name)
Try to find why you have this problem
Your patch break other systems.
Your patch is not between #if #endif relative to OSX
> Revision Changes Path
> 1.4 +9 -1
> blender/source/blender/blenkernel/bad_level_call_stubs/stubs.c
Index: blender/source/blender/blenkernel/bad_level_call_stubs/stubs.c
===================================================================
RCS file:
/cvs01/blender/source/blender/blenkernel/bad_level_call_stubs/stubs.c,v
retrieving revision 1.4
retrieving revision 1.3
diff -u -r1.4 -r1.3
--- stubs.c 2002/12/12 22:18:25 1.4
+++ stubs.c 2002/11/25 12:01:52 1.3
@@ -1,5 +1,5 @@
/**
- * $Id: stubs.c,v 1.4 2002/12/12 22:18:25 maarten Exp $
+ * $Id: stubs.c,v 1.3 2002/11/25 12:01:52 mein Exp $
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -42,9 +42,6 @@
int winqueue_break= 0;
-char bprogname[1];
-
-
/* readfile.c */
/* struct PluginSeq; */
void open_plugin_seq(struct PluginSeq *pis, char *seqname){}
@@ -166,11 +163,6 @@
return 0;
}
-/* exotic.c */
-int BPY_call_importloader(char *name)
-{
- return 0;
-}
/* texture.c */
==============================