Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 621252
Collapse All | Expand All

(-) (-4 / +5 lines)
Line  Link Here
--
1
a/texk/web2c/luatexdir/luaffi/ctype.c |    4 ++++
a/texk/web2c/luatexdir/luaffi/ctype.c |    4 ++++
2
b/texk/web2c/luatexdir/luaffi/ffi.h   |    2 +-
1
b/texk/web2c/luatexdir/luaffi/ffi.h   |    2 +-
3
2 files changed, 5 insertions(+), 1 deletion(-)
2
2 files changed, 5 insertions(+), 1 deletion(-)
4
-- a/texk/web2c/luatexdir/luaffi/ctype.c
Lines 245-250 void* to_cdata(lua_State* L, int idx, st Link Here
245
245
246
    lua_pop(L, 1); /* mt */
246
    lua_pop(L, 1); /* mt */
247
    cd = (struct cdata*) lua_touserdata(L, idx);
247
    cd = (struct cdata*) lua_touserdata(L, idx);
248
    if (!cd) {
249
        lua_pushnil(L);
250
        return NULL;
251
    }
248
    *ct = cd->type;
252
    *ct = cd->type;
249
    lua_getuservalue(L, idx);
253
    lua_getuservalue(L, idx);
250
254
251
-- a/texk/web2c/luatexdir/luaffi/ffi.h
Lines 370-376 __declspec(align(16)) Link Here
370
#endif
370
#endif
371
struct cdata {
371
struct cdata {
372
    const struct ctype type
372
    const struct ctype type
373
#ifdef __GNUC__
373
#if 0 /* def __GNUC__ */
374
      __attribute__ ((aligned(16)))
374
      __attribute__ ((aligned(16)))
375
#endif
375
#endif
376
      ;
376
      ;

Return to bug 621252