Browse Source

relocate: fix struct array

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1454 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 8 years ago
parent
commit
02c070d109
  1. 6
      processor/struct.m4

6
processor/struct.m4

@ -231,7 +231,11 @@ define(`STRUCT_ARRAY', `
`', `', `LOOPCOUNTER < SRC(`$2')');
++LOOPCOUNTER) {
DISABLECHECK(`
STRUCT(`$3', `$4[LOOPCOUNTER]', `$5')
pushdef(`ALLOC')
pushdef(`FIXPOINTER_EX')
STRUCT_P_EX(`$3', (DST(`$4') + LOOPCOUNTER), (SRC(`$4') + LOOPCOUNTER), `', `$5')
popdef(`FIXPOINTER_EX')
popdef(`ALLOC')
')
}
dnl the end marker

Loading…
Cancel
Save