1
0
Fork 0

relocate: fix struct array

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1454 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 2013-11-08 09:08:42 +00:00
parent 11bb4f0d07
commit 02c070d109
1 changed files with 5 additions and 1 deletions

View File

@ -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