libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 156698cb9adc8d71c410769fbcd77f539b9c6f3e
parent 323b7856c89003a93902c070bd3404a7cbc10352
Author: Nils Durner <durner@gnunet.org>
Date:   Thu,  2 Jun 2005 16:24:13 +0000

rename index(), name is already used by the libc (see Single Unix Spec)

Diffstat:
Msrc/plugins/pdf/Function.cc | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/pdf/Function.cc b/src/plugins/pdf/Function.cc @@ -830,7 +830,7 @@ public: (stack[sp+1].type == psInt || stack[sp+1].type == psReal); } void copy(int n); void roll(int n, int j); - void index(int i); + void idx(int i); void pop(); private: @@ -949,7 +949,7 @@ void PSStack::roll(int n, int j) { } } -void PSStack::index(int i) { +void PSStack::idx(int i) { if (!checkOverflow()) { return; } @@ -1354,7 +1354,7 @@ void PostScriptFunction::exec(PSStack *stack, int codePtr) { stack->pushInt(i1 / i2); break; case psOpIndex: - stack->index(stack->popInt()); + stack->idx(stack->popInt()); break; case psOpLe: if (stack->topTwoAreInts()) {