Vincent, I doubt people will check every proto you post here. If you see that the proto is not in line with the C code, fix it. If you smell some change which was made to the behaviour of the function (and this is indicated by a proto change), then you need to dig this up from the changelog/NEWS/cvs commit messages. Then you need to put a note that the behaviour changed in some PHP version.

Goba

Vincent Gevers wrote:
Hi

Yet Another Proto Fix

docs:
array mcal_list_alarms ( int mcal_stream [, int begin_year [, int begin_month [, int begin_day [, int end_year [, int end_month [, int end_day]]]]]])


c file:
array mcal_list_alarms(int stream_id, int year, int month, int day, int hour, int min, int sec)


the c file doesn't include the [ ]'s
but only stream_id is required


There is also the function mcal_list_events but I'm not sure if the docs and c file or a user note is correct.

docs and c file:
array mcal_list_events(int stream_id, object begindate [, object enddate])

user note:
(int stream_id, startYear, startMonth, startDay, endYear, endMonth, endDay)


Is that user correct?


- Vincent


Reply via email to