|
Rockbox mail archiveSubject: malloc in pluginsmalloc in plugins
From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Thu, 08 Jan 2004 22:25:18 +0000 HEEEEEELP I have been stumped by malloc! I need/want to use malloc/free in a plugin ...I wrote it originally before the plugin system was implemented, and all WAS well, so guess it's relatively simple if you know what I've missed. If anyone could let me know what I have to do to get it running again, I would be endebted :) I guess this needs to be in plugin.c: malloc, calloc, free, realloc, and this in plugin.h: void* (*malloc)(size_t); void* (*calloc)(size_t nmemb, size_t size); void (*free)(void *); void* (*realloc)(void *, size_t); and a couple of #includes for dmalloc.h ...but I just can't get a working compile :( Thanks in advance, BC Received on 2004-01-08 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |