Fix STRING_32 issues

This commit is contained in:
hassany
2014-03-19 23:13:16 +01:00
parent 7c5637c063
commit acc8cda04f
12 changed files with 43 additions and 43 deletions
+5 -5
View File
@@ -19,10 +19,10 @@ feature {NONE}
make_from_json (json: JSON_OBJECT)
do
if attached {JSON_STRING} json.item ("title") as l_title then
title := l_title.unescaped_string_32
title := l_title.unescaped_STRING_32
end
if attached {JSON_STRING} json.item ("content") as l_content then
content := l_content.unescaped_string_32
content := l_content.unescaped_STRING_32
end
if
attached {JSON_OBJECT} json.item ("image") as img and then
@@ -34,11 +34,11 @@ feature {NONE}
feature -- Access
title: detachable STRING
title: detachable STRING_32
content: detachable STRING
content: detachable STRING_32
image: detachable STRING
image: detachable STRING_32
item alias "[]" (a_field: READABLE_STRING_GENERAL): detachable ANY
-- <Precursor>
@@ -49,7 +49,7 @@ feature
list: LINKED_LIST [GOOGLE_NEWS]
l_json: detachable READABLE_STRING_8
json_parser: JSON_PARSER
query_str: STRING
query_str: STRING_32
cl: LIBCURL_HTTP_CLIENT
sess: HTTP_CLIENT_SESSION
do
@@ -89,11 +89,11 @@ feature
feature
set_query (q: STRING)
set_query (q: STRING_32)
do
query := q
end
query: STRING
query: STRING_32
end
@@ -16,9 +16,9 @@ create
feature
render_item (item: GOOGLE_NEWS): STRING
render_item (item: GOOGLE_NEWS): STRING_32
local
body: STRING
body: STRING_32
do
Result := ""
if attached item.image as image then