[OpenSER-Devel] SF.net SVN: openser: [4306] trunk

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 5 10:56:11 CEST 2008


Hello Henning,

On 06/05/08 11:32, Henning Westerholt wrote:
> On Wednesday 04 June 2008, Daniel-Constantin Mierla wrote:
>   
>> Revision: 4306
>>           http://openser.svn.sourceforge.net/openser/?rev=4306&view=rev
>> Author:   miconda
>> Date:     2008-06-04 14:08:28 -0700 (Wed, 04 Jun 2008)
>>
>> Log Message:
>> -----------
>> - script flags value can be set via assign operation
>>     
>
> Hi Daniel,
>
> perhaps we can remove all the (now) alternative core methods for setting and 
> getting the flags (setflag(), getflag())? If not for this release, perhaps 
> for 1.5?
>   
the functions do a separate operation, they just set/reset/test a flag. 
The assignment set the value of entire flags field. Maybe using ':=' 
operator to set a flag will make the other functions obsolete and remove 
them in the future.

The main purpose for this was to avoid several setflag() calls by just 
doing (for example):

$sf = $sf | 4 | 8 | 64;

Cheers,
Daniel

> Cheers,
>
> Henning
>   

-- 
http://www.asipto.com




More information about the Devel mailing list