--- parser3/src/classes/int.C 2002/04/18 10:50:59 1.44 +++ parser3/src/classes/int.C 2002/09/18 08:52:48 1.47 @@ -3,10 +3,10 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: int.C,v 1.44 2002/04/18 10:50:59 paf Exp $ */ +static const char* IDENT_INT_C="$Date: 2002/09/18 08:52:48 $"; + #include "classes.h" #include "pa_request.h" #include "pa_vdouble.h" @@ -33,7 +33,7 @@ static void _int(Request& r, const Strin if(params->size()>0) params->as_junction(0, "default must be int"); - VInt *vint=static_cast(r.self); + VInt *vint=static_cast(r.get_self()); r.write_no_lang(*new(pool) VInt(pool, vint->get_int())); } @@ -43,7 +43,7 @@ static void _double(Request& r, const St if(params->size()>0) params->as_junction(0, "default must be double"); - VInt *vint=static_cast(r.self); + VInt *vint=static_cast(r.get_self()); r.write_no_lang(*new(pool) VDouble(pool, vint->as_double())); } @@ -57,7 +57,7 @@ static void __mod(VInt& vint, double par static void vint_op(Request& r, MethodParams *params, vint_op_func_ptr func) { - VInt *vint=static_cast(r.self); + VInt *vint=static_cast(r.get_self()); double param=params->size()?params->as_double(0, "param must be numerical", r):1; (*func)(*vint, param); }