MCAL functions

From: Date: Sun, 27 Aug 2000 10:46:40 +0000
Subject: MCAL functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-30807@lists.php.net to get a copy of this message
The functions are getting out of date in both the source and documentation. Example: php_mcal.c ---- /* {{{ proto string mcal_delete_event(int stream_id, int uid) Delete an event */ PHP_FUNCTION(mcal_delete_event) { zval **streamind, **uid; int ind, ind_type; pils *mcal_le_struct; int myargc=ZEND_NUM_ARGS(); if (myargc != 2 || zend_get_parameters_ex(2, &streamind, &uid) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_long_ex(streamind); convert_to_long_ex(uid); ind = (*streamind)->value.lval; mcal_le_struct = (pils *)zend_list_find(ind, &ind_type); if (!mcal_le_struct) { php_error(E_WARNING, "Unable to find stream pointer"); RETURN_FALSE; } if (cal_remove(mcal_le_struct->mcal_stream, (*uid)->value.lval)) { RETURN_TRUE; } else { RETURN_FALSE; } } /* }}} */ ---- Apparently, the argument count and type is right (which is why the function is still working), but rather than uid, the current function should be: /* {{{ proto string mcal_delete_event(int stream_id, [int event_id]) Delete an event */ Who should I work with on fixing this up? Is there an mcal person? -- Brought to you from iBop the iMac, a MacOS, Win95, Win98, LinuxPPC machine, which is currently in MacOS land. Your bopping may vary.

« previous php.dev (#30807) next »