Skip to content

Commit

Permalink
Refactoring ext/curl (only compilable now)
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed May 9, 2014
1 parent b57d558 commit c5e63f8
Show file tree
Hide file tree
Showing 5 changed files with 438 additions and 580 deletions.
4 changes: 1 addition & 3 deletions ext/curl/curl_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ static void curlfile_get_property(char *name, INTERNAL_FUNCTION_PARAMETERS)
return;
}
res = zend_read_property(curl_CURLFile_class, getThis(), name, strlen(name), 1 TSRMLS_CC);
*return_value = *res;
zval_copy_ctor(return_value);
INIT_PZVAL(return_value);
RETURN_ZVAL(res, 1, 0);
}

static void curlfile_set_property(char *name, INTERNAL_FUNCTION_PARAMETERS)
Expand Down
Loading

0 comments on commit c5e63f8

Please sign in to comment.