Standalone malloc()

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Standalone malloc()

804件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Muis on Thu Jan 24 16:40:41 MST 2013
The only reason for including Redlib<nohost> in most of my projects is because I need the malloc() function, but I'd rather switch to Redlib<none>. Is there any standalone implementation available like there is for printf(), so that I could get rid of the dependancy?
0 件の賞賛
返信
1 返信

778件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Jan 25 09:12:33 MST 2013
The <none> version of the libraries do not support malloc. If you use <nohost> and only call malloc/free you get a pretty minimal version of the libraries. Why do you not want to use <nohost>?
0 件の賞賛
返信