Use new syntax for object test and attached/detachable type.

git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@77298 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
manus
2009-02-24 23:44:31 +00:00
parent 9e27a52670
commit e880fbde14
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ feature -- Special setting
curl_function: CURL_FUNCTION
-- cURL functions in curl_easy_setopt.
do
if {l_curl_function: like curl_function} internal_curl_function then
if attached {like curl_function} internal_curl_function as l_curl_function then
Result := l_curl_function
else
create {CURL_DEFAULT_FUNCTION} Result.make
@@ -198,7 +198,7 @@ feature -- Special setting
feature {NONE} -- Implementation
internal_curl_function: ?CURL_FUNCTION
internal_curl_function: detachable CURL_FUNCTION
-- cURL functions.
api_loader: API_LOADER