On Wed, 2018-11-21 at 12:04 +, Emil Velikov wrote:
> From: Emil Velikov
>
> Otherwise the incorrect ones will be used, effecitvely 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.
>
> Signed-off-by:
Quoting Emil Velikov (2018-11-23 05:35:31)
> On 2018/11/21, Dylan Baker wrote:
> > Quoting Emil Velikov (2018-11-21 04:04:03)
>
> > >
> > > +import os
> > > +GLAPI = os.path.join(os.path.dirname(sys.argv[0]), "..", "glapi/gen")
> >
> > you should use __file__ instead of sys.argv[0], also don't
On 2018/11/21, Dylan Baker wrote:
> Quoting Emil Velikov (2018-11-21 04:04:03)
> >
> > +import os
> > +GLAPI = os.path.join(os.path.dirname(sys.argv[0]), "..", "glapi/gen")
>
> you should use __file__ instead of sys.argv[0], also don't hardcode '/' into
> there, join 'glapi' and 'gen' for windo
Quoting Emil Velikov (2018-11-21 04:04:03)
> From: Emil Velikov
>
> Otherwise the incorrect ones will be used, effecitvely 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.
>
> Signed-off-by: Emil Velikov
>
From: Emil Velikov
Otherwise the incorrect ones will be used, effecitvely 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.
Signed-off-by: Emil Velikov
---
src/mapi/new/genCommon.py | 30 +