[vlc-devel] [PATCH] vlc_common: Add C++ memory management helpers

Rémi Denis-Courmont remi at remlab.net
Thu Jul 12 17:24:36 CEST 2018


Le torstaina 12. heinäkuuta 2018, 16.20.38 EEST Hugo Beauzée-Luyssen a écrit :
> Those are coming from my medialibrary branch, but since I plan on using
> them elsewhere at some point, might as well make them VLC wide
> Those helpers won't accept void* so they can't directly wrap a malloc
> call, but we could have additional wrapper that perform the
> reinterpret_cast for the caller.

I cannot comment on the code, but can we have proper Doxygen?

And if we get a lot of C++ wrappers, it might make sense to split them off to 
a separate file.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list