Fix for compiling with player after skin modifier commits.
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 22 May 2012 15:55:02 +0000 (15:55 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 22 May 2012 15:55:02 +0000 (15:55 +0000)
Removed the bad_level_call_stubs for BLI_heap functions; player is
being linked with blenlib, so this gives multiple-definition linker
errors.

source/blenderplayer/bad_level_call_stubs/stubs.c

index aa243ed..4c0115b 100644 (file)
@@ -122,15 +122,6 @@ void EDBM_mesh_make(struct ToolSettings *ts, struct Scene *scene, struct Object
 void EDBM_mesh_normals_update(struct BMEditMesh *em) {}
 void *g_system;
 
-struct Heap* BLI_heap_new (void){return NULL;}
-void BLI_heap_free(struct Heap *heap, void *ptrfreefp) {}
-struct HeapNode* BLI_heap_insert (struct Heap *heap, float value, void *ptr){return NULL;}
-void BLI_heap_remove(struct Heap *heap, struct HeapNode *node) {}
-int BLI_heap_empty(struct Heap *heap) {return 0;}
-int BLI_heap_size(struct Heap *heap){return 0;}
-struct HeapNode* BLI_heap_top (struct Heap *heap){return NULL;}
-void* BLI_heap_popmin (struct Heap *heap){return NULL;}
-
 void BLI_smallhash_init(struct SmallHash *hash) {}
 void BLI_smallhash_release(struct SmallHash *hash) {}
 void BLI_smallhash_insert(struct SmallHash *hash, uintptr_t key, void *item) {}