File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed
Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -806,8 +806,6 @@ static zend_function_entry php_git2_functions[] = {
806806 PHP_FE (git_signature_new , arginfo_git_signature_new )
807807 PHP_FE (git_signature_now , arginfo_git_signature_now )
808808 PHP_FE (git_signature_default , arginfo_git_signature_default )
809- PHP_FE (git_signature_dup , arginfo_git_signature_dup )
810- PHP_FE (git_signature_free , arginfo_git_signature_free )
811809
812810 /* reset */
813811 PHP_FE (git_reset , arginfo_git_reset )
Original file line number Diff line number Diff line change @@ -77,32 +77,3 @@ PHP_FUNCTION(git_signature_default)
7777 RETURN_ZVAL (signature , 0 , 1 );
7878}
7979/* }}} */
80-
81- /* {{{ proto array git_signature_dup(array $sig)
82- */
83- PHP_FUNCTION (git_signature_dup )
84- {
85- // TODO(chobie): remove later. we don't need to export this function */
86- git_signature * result = NULL ;
87- zval * __result = NULL , * sig = NULL ;
88-
89- if (zend_parse_parameters (ZEND_NUM_ARGS () TSRMLS_CC ,
90- "a" , & sig ) == FAILURE ) {
91- return ;
92- }
93-
94- result = git_signature_dup (sig );
95- php_git2_signature_to_array (result , & __result TSRMLS_CC );
96- git_signature_free (result );
97- RETURN_ZVAL (__result , 0 , 1 );
98- }
99- /* }}} */
100-
101- /* {{{ proto void git_signature_free(array $sig)
102- */
103- PHP_FUNCTION (git_signature_free )
104- {
105- // TODO(chobie): remove later. we don't need to export this function */
106- }
107- /* }}} */
108-
You can’t perform that action at this time.
0 commit comments