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

@@ -41,7 +41,7 @@ feature -- Command
create l_c_string.make_shared_from_pointer_and_count (a_data_pointer, Result)
create l_identified
if {l_string: CURL_STRING} l_identified.id_object (a_object_id.to_integer_32) then
if attached {CURL_STRING} l_identified.id_object (a_object_id.to_integer_32) as l_string then
l_string.append (l_c_string.string)
else
check False end