mapi/new: use the static_data offsets in the new generator
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 15 Nov 2018 18:40:21 +0000 (18:40 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 24 Jan 2019 18:13:25 +0000 (18:13 +0000)
commit451805f810353c7a0247312f491003c31c571265
tree956866d222d489462fc6b7cc57ad1850593e460f
parentbba375c0160391225584b5a153c8d9febb8d2d9c
mapi/new: use the static_data offsets in the new generator

Otherwise the incorrect ones will be used, effectively breaking the ABI.

Note: some entries in static_data.py list a suffixed API, while (for ES*
at least) we expect the one w/o suffix.

v2:
 - rework path handling (Dylan)
 - use else if chain (Erik)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/mapi/new/genCommon.py