objects: separate private data from public data
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Apr 2019 15:18:56 +0000 (18:18 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 14 Apr 2019 19:02:17 +0000 (22:02 +0300)
commit1f12ab825bbd1c964f256cf36a57e1f236d59056
tree4a75fca3bb3befb383a7268482ece1afe5df59c6
parented9eaaccd4587e7017ab9b06189df75dff209b04
objects: separate private data from public data

Allocate the object private data separately - stop relying on alignment
and unconventional pointer arithmetic. This adds (internal) functions
to (de)initialize an object in place.
src/libvlc.h
src/misc/objects.c
src/misc/variables.h