diff --git a/src/lib/ecore/ecore_exe.eo b/src/lib/ecore/ecore_exe.eo index 2c47304792..6a2bb68411 100644 --- a/src/lib/ecore/ecore_exe.eo +++ b/src/lib/ecore/ecore_exe.eo @@ -58,7 +58,7 @@ class Ecore.Exe (Eo.Base, Efl.Control) legacy: null; } values { - exe_cmd: const(char) *; [[The command to execute.]] + exe_cmd: string; [[The command to execute.]] flags: Ecore.Exe_Flags; [[The execution flags.]] } } diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo index d446bffbb5..b81ba06740 100644 --- a/src/lib/ecore/efl_loop.eo +++ b/src/lib/ecore/efl_loop.eo @@ -49,7 +49,7 @@ class Efl.Loop (Eo.Base) [[Add a new set of arguments to the loop that makes an args event.]] params { argc: int; [[The number of strings in the argv array.]] - argv: const(char)**; [[The array of argument strings.]] + argv: string*; [[The array of argument strings.]] } } } diff --git a/src/lib/ecore/efl_loop_args.eo b/src/lib/ecore/efl_loop_args.eo index 1c4e76ba3c..fd9c5f4339 100644 --- a/src/lib/ecore/efl_loop_args.eo +++ b/src/lib/ecore/efl_loop_args.eo @@ -6,7 +6,7 @@ class Efl.Loop.Args (Eo.Base) [[Add a new set of arguments to the loop that makes an args event.]] params { argc: int; [[The number of strings in the argv array.]] - argv: const(char)**; [[The array of argument strings.]] + argv: string*; [[The array of argument strings.]] } } arg_num_get { @@ -16,7 +16,7 @@ class Efl.Loop.Args (Eo.Base) params { num: int; [[The argument number to get.]] } - return: const(char)*; [[The argument string.]] + return: string; [[The argument string.]] } } implements { diff --git a/src/lib/ecore_audio/ecore_audio.eo b/src/lib/ecore_audio/ecore_audio.eo index 66728b8be4..8502534546 100644 --- a/src/lib/ecore_audio/ecore_audio.eo +++ b/src/lib/ecore_audio/ecore_audio.eo @@ -28,7 +28,7 @@ class Ecore.Audio (Eo.Base) get { } values { - name: const(char)*; [[Name]] + name: string; [[Name]] } } @property paused { @@ -74,7 +74,7 @@ class Ecore.Audio (Eo.Base) get { } values { - source: const(char)*; [[the source to set to (i.e. file, URL, device)]] + source: string; [[the source to set to (i.e. file, URL, device)]] } } @property format @virtual_pure { diff --git a/src/lib/ecore_con/ecore_con_eet_base.eo b/src/lib/ecore_con/ecore_con_eet_base.eo index a0651b13a2..667d2f8cbc 100644 --- a/src/lib/ecore_con/ecore_con_eet_base.eo +++ b/src/lib/ecore_con/ecore_con_eet_base.eo @@ -28,7 +28,7 @@ class Ecore.Con.Eet.Base (Eo.Base) { set { } values { - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] func: Ecore_Con_Eet_Data_Cb; [[The callback function.]] data: const (void) *; [[The data (if any) that should be passed to callback function.]] @@ -40,7 +40,7 @@ class Ecore.Con.Eet.Base (Eo.Base) { set { } values { - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] func: Ecore_Con_Eet_Raw_Data_Cb; [[The callback function.]] data: const (void) *; [[The data (if any) that should be passed to callback function.]] @@ -49,13 +49,13 @@ class Ecore.Con.Eet.Base (Eo.Base) { data_callback_del { [[Function to delete the @.data_callback.]] params { - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] } } raw_data_callback_del { [[Function to delete the @.raw_data_callback.]] params { - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] } } register { @@ -63,7 +63,7 @@ class Ecore.Con.Eet.Base (Eo.Base) { ecore_con_eet object.]] legacy: ecore_con_eet; params { - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] edd: Eet.Data.Descriptor *; [[The Eet.Data.Descriptor that is to be registered.]] } @@ -73,7 +73,7 @@ class Ecore.Con.Eet.Base (Eo.Base) { params { reply: Ecore.Con.Reply *; [[Contains the ecore_con_eet object to which the data has to be sent.]] - name: const (char) *; [[The name of the eet stream.]] + name: string; [[The name of the eet stream.]] value: void *; [[Actual data]] } } @@ -82,8 +82,8 @@ class Ecore.Con.Eet.Base (Eo.Base) { params { reply: Ecore.Con.Reply *; [[Contains the ecore_con_eet object to which the data has to be sent.]] - protocol_name: const (char) *; [[The name of the eet stream.]] - section: const (char) *; [[Name of section in the eet descriptor.]] + protocol_name: string; [[The name of the eet stream.]] + section: string; [[Name of section in the eet descriptor.]] value: void *; [[The value of the section.]] length: uint; [[The length of the data that is being sent.]] } diff --git a/src/lib/ecore_con/efl_network.eo b/src/lib/ecore_con/efl_network.eo index de62158c08..bb7bf542ed 100644 --- a/src/lib/ecore_con/efl_network.eo +++ b/src/lib/ecore_con/efl_network.eo @@ -49,7 +49,7 @@ abstract Efl.Network (Eo.Base) { legacy: null; } values { - ip: const(char)*; [[The IP address]] + ip: string; [[The IP address]] } } @property uptime { @@ -168,7 +168,7 @@ abstract Efl.Network (Eo.Base) { parameter. ]] params { - name: const(char)* @nonull; [[IP address or server name to translate.]] + name: string @nonull; [[IP address or server name to translate.]] done_cb: Ecore_Con_Dns_Cb; [[Callback to notify when done.]] data: const(void)*; [[User data to be given to done_cb.]] } @@ -178,7 +178,7 @@ abstract Efl.Network (Eo.Base) { events { data,received: Ecore.Con.Event_Data.Received; [[Data received on connection]] connection,upgraded; - connection,error: const(char) *; [[Error received on connection]] + connection,error: string; [[Error received on connection]] } } diff --git a/src/lib/ecore_con/efl_network_server.eo b/src/lib/ecore_con/efl_network_server.eo index c171730203..f079e9ceaa 100644 --- a/src/lib/ecore_con/efl_network_server.eo +++ b/src/lib/ecore_con/efl_network_server.eo @@ -14,7 +14,7 @@ class Efl.Network.Server (Efl.Network) { get { } values { - name: const(char) *; [[The name of the server.]] + name: string; [[The name of the server.]] } } @property client_limit { diff --git a/src/lib/ecore_con/efl_network_url.eo b/src/lib/ecore_con/efl_network_url.eo index 9dd8065e7a..783b18f563 100644 --- a/src/lib/ecore_con/efl_network_url.eo +++ b/src/lib/ecore_con/efl_network_url.eo @@ -10,7 +10,7 @@ class Efl.Network.Url (Eo.Base) { get { } values { - url: const(char) *; [[The URL]] + url: string; [[The URL]] } } } diff --git a/src/lib/ector/cairo/ector_cairo_surface.eo b/src/lib/ector/cairo/ector_cairo_surface.eo index ad1a092396..0237ed7a62 100644 --- a/src/lib/ector/cairo/ector_cairo_surface.eo +++ b/src/lib/ector/cairo/ector_cairo_surface.eo @@ -21,7 +21,7 @@ class Ector.Cairo.Surface (Eo.Base, Ector.Surface) symbol_get { return: void * @warn_unused; params { - @in name: const(char)*; + @in name: string; } } } diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index dedd11f64d..15e949c611 100644 --- a/src/lib/edje/edje_object.eo +++ b/src/lib/edje/edje_object.eo @@ -52,7 +52,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] } values { - language: const(char)*; [[The language value]] + language: string; [[The language value]] } } @property animation { @@ -194,7 +194,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) \@ref evas_textblock_cursor_paragraph_first]] } values { - part: const(char)*; [[The part name]] + part: string; [[The part name]] cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -204,7 +204,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) \@ref evas_textblock_cursor_line_char_last]] } values { - part: const(char)*; [[The part name]] + part: string; [[The part name]] cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -224,10 +224,10 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true, on success or $false, on error]] } keys { - text_class: const(char)*; [[The text class name]] + text_class: string; [[The text class name]] } values { - font: const(char)*; [[Font name]] + font: string; [[Font name]] size: Evas.Font.Size; [[Font Size]] } } @@ -240,7 +240,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[True on success, false on error.]] } values { - part: const(char)*; [[The part containing the object.]] + part: string; [[The part containing the object.]] cur: Edje.Cursor; [[The cursor to adjust.]] x: Evas.Coord; [[X Coordinate.]] y: Evas.Coord; [[Y Coordinate.]] @@ -252,7 +252,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) \@ref evas_textblock_cursor_paragraph_last]] } values { - part: const(char)*; [[The part name]] + part: string; [[The part name]] cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -268,8 +268,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true on success, $false otherwise]] } values { - part: const(char)*; [[The part name]] - text: const(char)*; [[The text string]] + part: string; [[The part name]] + text: string; [[The text string]] } } @property item_provider { @@ -290,7 +290,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) \@ref evas_textblock_cursor_line_char_first]] } values { - part: const(char)*; [[The part name]] + part: string; [[The part name]] cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -356,7 +356,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) access_part_iterate { [[Iterate over all accessibility-enabled part names.]] legacy: null; - return: free(own(iterator), eina_iterator_free); + return: free(own(iterator), eina_iterator_free); } @property load_error { get { @@ -429,7 +429,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: Edje.External.Param_Type; [[#EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value from #Edje_External_Param_Type on success.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out param: const(char); [[the parameter name to use.]] } } @@ -441,18 +441,18 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) selection, functions such as edje_object_part_text_select_all() and edje_object_part_text_select_none() are not affected.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in allow: bool; [[true to enable, false otherwise]] } } part_state_get @const { [[Returns the state of the Edje part.]] - return: const(char)*; [[The part state: + return: string; [[The part state: "default" for the default state "" for other states]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out val_ret: double; } } @@ -469,7 +469,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: void *; [[The same data pointer if successful, or $null otherwise]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Markup_Filter_Cb; [[The function callback to remove]] @in data: void *; [[The data passed to the callback function]] } @@ -487,7 +487,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dx: double; [[The x step amount]] @in dy: double; [[The y step amount]] } @@ -500,7 +500,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) See also @.part_drag_step_set()]] return: bool; params { - @in part: const(char)*; [[The part]] + @in part: string; [[The part]] @out dx: double; [[The x step increment pointer]] @out dy: double; [[The y step increment pointer]] } @@ -514,13 +514,13 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] return: void *; [[The input method context (Ecore_IMF_Context *) in entry]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_select_begin @const { [[Starts selecting at current cursor position]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_style_user_peek @const { @@ -529,9 +529,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) This function returns the style associated with the textblock part. @since 1.2.0]] - return: const(char)*; [[The text string]] + return: string; [[The text string]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } signal_callback_del { @@ -549,8 +549,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) legacy: null; return: void *; [[The data pointer]] params { - @in emission: const(char)*; [[The emission string.]] - @in source: const(char)*; [[The source string.]] + @in emission: string; [[The emission string.]] + @in source: string; [[The source string.]] @in func: Edje.Signal_Cb; [[The callback function.]] @in data: void *; [[The callback function.]] } @@ -561,7 +561,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The edje cursor to advance]] } } @@ -573,8 +573,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] - @in style: const(char)*; [[The style to set (textblock conventions).]] + @in part: string; [[The part name]] + @in style: string; [[The style to set (textblock conventions).]] } } part_text_append { @@ -586,8 +586,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1]] params { - @in part: const(char)*; [[The part name]] - @in text: const(char)*; [[The text string]] + @in part: string; [[The part name]] + @in text: string; [[The text string]] } } part_geometry_get @const { @@ -605,7 +605,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) pointers' pointed variables be set to zero.]] return: bool; params { - @in part: const(char)*; [[The Edje part's name]] + @in part: string; [[The Edje part's name]] @out x: Evas.Coord; [[A pointer to a variable where to store the part's x coordinate]] @out y: Evas.Coord; [[A pointer to a variable where to store the part's y @@ -623,7 +623,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_item_geometry_get @const { @@ -633,8 +633,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) rectangles.]] return: bool; [[1 if item exists, 0 if not]] params { - @in part: const(char)*; [[The part name]] - @in item: const(char)*; [[The item name]] + @in part: string; [[The part name]] + @in item: string; [[The item name]] @out cx: Evas.Coord; [[Item x return (relative to entry part)]] @out cy: Evas.Coord; [[Item y return (relative to entry part)]] @out cw: Evas.Coord; [[Item width return]] @@ -644,7 +644,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) part_text_select_abort @const { [[Aborts any selection action on a part.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } text_insert_filter_callback_del_full { @@ -658,7 +658,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: void *; [[The same data pointer if successful, or $null otherwise]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Text.Filter_Cb; [[The function callback to remove]] @in data: void *; [[The data passed to the callback function]] } @@ -669,7 +669,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_panel_imdata_set { @@ -682,7 +682,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in data: const(void)*; [[The specific data to be set to the input panel.]] @in len: int; [[the length of data, in bytes, to send to the input panel]] } @@ -692,7 +692,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in data: void *; [[The specific data to be got from the input panel]] @in len: int *; [[The length of data]] } @@ -704,15 +704,15 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) cursor position.]] params { - @in part: const(char)*; [[The part name]] - @in text: const(char)*; [[The text string]] + @in part: string; [[The part name]] + @in text: string; [[The text string]] } } part_text_cursor_copy { [[Copy the cursor to another cursor.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in src: Edje.Cursor; [[the cursor to copy from]] @in dst: Edje.Cursor; [[the cursor to copy to]] } @@ -765,7 +765,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dx: double; [[The x value]] @in dy: double; [[The y value]] } @@ -781,7 +781,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) Gets the drag location values.]] return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out dx: double; [[The X value pointer]] @out dy: double; [[The Y value pointer]] } @@ -799,7 +799,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The cursor to move]] @in pos: int; [[the position of the cursor]] } @@ -810,7 +810,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] return: int; [[The cursor position]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The cursor to get the position]] } } @@ -832,7 +832,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: char *; [[The character string pointed to (may be a multi-byte utf8 sequence) terminated by a nul byte.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The cursor to use]] } } @@ -847,7 +847,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in layout: Edje.Input_Panel.Layout; [[layout type]] } } @@ -859,7 +859,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1]] return: Edje.Input_Panel.Layout; [[Layout type of the input panel]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_panel_language_set { @@ -870,7 +870,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in lang: Edje.Input_Panel.Lang; [[the language to be set to the input panel.]] } } @@ -882,7 +882,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] return: Edje.Input_Panel.Lang; [[input panel language type]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_external_object_get @const { @@ -901,7 +901,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: Evas.Object; [[The externally created object, or $null if there is none or part is not an external.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_external_content_get @const { @@ -911,7 +911,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) code providing the EXTERNAL.]] return: Evas.Object; params { - @in part: const(char)*; [[The name of the part holding the EXTERNAL]] + @in part: string; [[The name of the part holding the EXTERNAL]] @out content: const(char); [[A string identifying which content from the EXTERNAL to get]] } } @@ -939,7 +939,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in enabled: bool; [[If true, the input panel is appeared when entry is clicked or has a focus]] } } @@ -950,13 +950,13 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] return: bool; [[true if it supports or false otherwise]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_select_extend @const { [[Extends the current selection to the current cursor position]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_anchor_geometry_get @const { @@ -967,8 +967,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: const(list); [[The list of anchor rects (const Evas_Textblock_Rectangle *), do not modify! Geometry is relative to entry part.]] params { - @in part: const(char)*; [[The part name]] - @in anchor: const(char)*; [[The anchor name]] + @in part: string; [[The part name]] + @in anchor: string; [[The anchor name]] } } part_text_cursor_down { @@ -976,7 +976,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -993,7 +993,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dx: double; [[The x page step increment]] @in dy: double; [[The y page step increment]] } @@ -1006,7 +1006,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) See also @.part_drag_page_set()]] return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out dx: double; [[The dx page increment pointer]] @out dy: double; [[The dy page increment pointer]] } @@ -1032,8 +1032,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) * @endcode */ params { - @in emission: const(char)*; [[The signal's "emission" string]] - @in source: const(char)*; [[The signal's "source" string]] + @in emission: string; [[The signal's "emission" string]] + @in source: string; [[The signal's "source" string]] } } part_text_input_panel_layout_variation_set { @@ -1047,7 +1047,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.8]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in variation: int; [[layout variation type]] } } @@ -1059,7 +1059,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.8]] return: int; [[Layout variation type of the input panel]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } message_send { @@ -1090,7 +1090,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) This function sets the selection text to be none.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_object_get @const { @@ -1113,7 +1113,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: const(Evas.Object); [[A pointer to the Evas object implementing the given part, or $null on failure (e.g. the given part doesn't exist)]] params { - @in part: const(char)*; [[The Edje part's name]] + @in part: string; [[The Edje part's name]] } } part_drag_size_set { @@ -1128,7 +1128,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dw: double; [[The drag width]] @in dh: double; [[The drag height]] } @@ -1141,7 +1141,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) See also @.part_drag_size_set()]] return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out dw: double; [[The drag width pointer]] @out dh: double; [[The drag height pointer]] } @@ -1156,7 +1156,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: void *; [[The user data pointer if successful, or $null otherwise]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Text.Filter_Cb; [[The function callback to remove]] } } @@ -1172,7 +1172,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) #EDJE_DRAG_DIR_Y: Dragable in Y direction #EDJE_DRAG_DIR_XY: Dragable in X & Y directions]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_unescaped_set { @@ -1185,8 +1185,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] - @in text_to_escape: const(char)*; [[The text string]] + @in part: string; [[The part name]] + @in text_to_escape: string; [[The text string]] } } part_text_unescaped_get @const { @@ -1201,7 +1201,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: char *; [[The allocated text string without escaping, or $null on problems.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } signal_callback_add { @@ -1258,8 +1258,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) */ params { - @in emission: const(char)*; [[The signal's "emission" string]] - @in source: const(char)*; [[The signal's "source" string]] + @in emission: string; [[The signal's "emission" string]] + @in source: string; [[The signal's "source" string]] @in func: Edje.Signal_Cb; [[The callback function to be executed when the signal is emitted.]] @in data: void *; [[A pointer to data to pass in to func.]] @@ -1270,7 +1270,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) This function selects all text of the object of the part.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_panel_return_key_disabled_set { @@ -1279,7 +1279,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in disabled: bool; [[The state]] } } @@ -1289,7 +1289,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] return: bool; [[true if it should be disabled]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_autocapital_type_set { @@ -1298,7 +1298,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in autocapital_type: Edje.Text.Autocapital_Type; [[The type of autocapitalization]] } } @@ -1308,7 +1308,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.1.0]] return: Edje.Text.Autocapital_Type; [[The autocapitalization type]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_prediction_allow_set { @@ -1317,7 +1317,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in prediction: bool; [[If true, the prediction feature is allowed.]] } } @@ -1327,7 +1327,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] return: bool; [[true if prediction feature is allowed.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } data_get @const { @@ -1363,9 +1363,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) * } * @endcode */ - return: const(char)*; [[The data's value string. Must not be freed.]] + return: string; [[The data's value string. Must not be freed.]] params { - @in key: const(char)*; [[The data field's key string]] + @in key: string; [[The data field's key string]] } } text_markup_filter_callback_add { @@ -1395,7 +1395,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Markup_Filter_Cb; [[The callback function that will act as markup filter]] @in data: void *; [[User provided data to pass to the filter function]] } @@ -1427,7 +1427,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_panel_return_key_type_set { @@ -1438,7 +1438,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in return_key_type: Edje.Input_Panel.Return_Key_Type; [[The type of "return" key on the input panel]] } } @@ -1450,7 +1450,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] return: Edje.Input_Panel.Return_Key_Type; [[The type of "return" key on the input panel]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_external_param_set { @@ -1474,7 +1474,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true if everything went fine, $false on errors.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in param: const(Edje.External.Param)*; [[the parameter details, including its name, type and actual value. This pointer should be valid, and the parameter must exist in @@ -1501,7 +1501,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) are filled with information, $false on errors and param member values are not set or valid.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out param: Edje.External.Param; [[the parameter details. It is used as both input and output variable. This pointer should be valid, and the parameter must exist in @@ -1566,7 +1566,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dx: double; [[The x step]] @in dy: double; [[The y step]] } @@ -1576,8 +1576,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true on success, $false otherwise]] params { - @in part: const(char)*; [[The part name]] - @in text: const(char)*; [[The text string]] + @in part: string; [[The part name]] + @in text: string; [[The text string]] } } part_text_get @const { @@ -1586,9 +1586,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) This function returns the text associated to the object part. See also @.part_text_set().]] - return: const(char)*; [[The text string]] + return: string; [[The text string]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_panel_show_on_demand_set { @@ -1598,7 +1598,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.9.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in ondemand: bool; [[If true, the input panel will be shown in case of only Mouse up event. (Focus event will be ignored.)]] } } @@ -1608,7 +1608,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.9.0]] return: bool; [[$true if the input panel will be shown in case of only Mouse up event.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_input_hint_set { @@ -1617,7 +1617,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.12.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in input_hints: Edje.Input_Hints; [[input hints]] } } @@ -1627,7 +1627,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.12.0]] return: Edje.Input_Hints; [[The value of input hint]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_selection_get @const { @@ -1636,9 +1636,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) This function returns selection text of the object part. See also @.part_text_select_all() and @.part_text_select_none()]] - return: const(char)*; [[The text string]] + return: string; [[The text string]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_text_cursor_is_format_get @const { @@ -1647,7 +1647,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[true if it's true, false otherwise.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The cursor to adjust.]] } } @@ -1663,7 +1663,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.17]] params { - @in text_class: const(char)*; [[The color class to be deleted.]] + @in text_class: string; [[The color class to be deleted.]] } } @property color_class { @@ -1703,7 +1703,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) values are zeroed.]] } keys { - color_class: const(char)*; + color_class: string; } values { r: int; [[Object Red value]] @@ -1724,9 +1724,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) [[Gets the description of an object color class. This function gets the description of a color class in use by an object.]] - return: const(char)*; [[The description of the target color class or $null if not found]] + return: string; [[The description of the target color class or $null if not found]] params { - @in color_class: const(char)*; + @in color_class: string; } } color_class_clear @const { @@ -1748,7 +1748,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) Deleting the color class will emit the signal "color_class,del" for the given Edje object.]] params { - @in color_class: const(char)*; [[The color class to be deleted.]] + @in color_class: string; [[The color class to be deleted.]] } } @property size_class { @@ -1773,7 +1773,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true, on success or $false, on error]] } keys { - size_class: const(char)*; [[The size class name]] + size_class: string; [[The size class name]] } values { minw: int; [[The min width]] @@ -1794,7 +1794,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.17]] params { - @in size_class: const(char)*; + @in size_class: string; } } part_drag_step { @@ -1809,7 +1809,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in dx: double; [[The x step]] @in dy: double; [[The y step]] } @@ -1819,7 +1819,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -1827,7 +1827,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) [[Returns the cursor geometry of the part relative to the edje object.]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @out x: Evas.Coord; [[Cursor X position]] @out y: Evas.Coord; [[Cursor Y position]] @out w: Evas.Coord; [[Cursor width]] @@ -1838,9 +1838,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) [[Return a list of char anchor names. This function returns a list of char anchor names.]] - return: const(list); [[The list of anchors (const char *), do not modify!]] + return: const(list); [[The list of anchors (const char *), do not modify!]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } text_insert_filter_callback_add { @@ -1874,7 +1874,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) and @.text_markup_filter_callback_add]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Text.Filter_Cb; [[The callback function that will act as filter]] @in data: void *; [[User provided data to pass to the filter function]] } @@ -1887,7 +1887,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } part_exists @const { @@ -1902,7 +1902,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; [[$true, if the Edje part exists in obj's group or $false, otherwise (and on errors)]] params { - @in part: const(char)*; [[The part's name to check for existence in obj's + @in part: string; [[The part's name to check for existence in obj's group]] } } @@ -1918,7 +1918,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: void *; [[The user data pointer if successful, or $null otherwise]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in func: Edje.Markup_Filter_Cb; [[The function callback to remove]] } } @@ -1928,7 +1928,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @ evas_textblock_cursor_format_is_visible_get]] return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[The cursor to adjust.]] } } @@ -1940,8 +1940,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) @since 1.2.0]] params { - @in part: const(char)*; [[The part name]] - @in text: const(char)*; [[The text string]] + @in part: string; [[The part name]] + @in text: string; [[The text string]] } } part_text_cursor_prev { @@ -1950,7 +1950,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) return: bool; params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] @in cur: Edje.Cursor; [[the edje cursor to work on]] } } @@ -1958,9 +1958,9 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container, Efl.Part) [[Return a list of char item names. This function returns a list of char item names.]] - return: const(list); [[The list of items (const char *), do not modify!]] + return: const(list); [[The list of items (const char *), do not modify!]] params { - @in part: const(char)*; [[The part name]] + @in part: string; [[The part name]] } } @property transition_duration_factor { diff --git a/src/lib/edje/efl_canvas_layout_internal.eo b/src/lib/edje/efl_canvas_layout_internal.eo index 38ff692a95..cb63e09d60 100644 --- a/src/lib/edje/efl_canvas_layout_internal.eo +++ b/src/lib/edje/efl_canvas_layout_internal.eo @@ -8,7 +8,7 @@ interface Efl.Canvas.Layout_Internal () values { ed: void*; rp: void*; - part: const(char)*; + part: string; } } } diff --git a/src/lib/efl/interfaces/efl_container.eo b/src/lib/efl/interfaces/efl_container.eo index f66c128102..73489e845f 100644 --- a/src/lib/efl/interfaces/efl_container.eo +++ b/src/lib/efl/interfaces/efl_container.eo @@ -11,7 +11,7 @@ interface Efl.Container (Efl.Gfx) content: Efl.Gfx; } values { - name: const(char)*; + name: string; } } @property content { diff --git a/src/lib/efl/interfaces/efl_file.eo b/src/lib/efl/interfaces/efl_file.eo index 852bf294c8..7c58d966e3 100644 --- a/src/lib/efl/interfaces/efl_file.eo +++ b/src/lib/efl/interfaces/efl_file.eo @@ -27,7 +27,7 @@ interface Efl.File { } values { f: const(Eina.File)*; [[The handler to an Eina_File that will be used as image source]] - key: const(char)* @optional; [[The group that the image belongs to, in case + key: string @optional; [[The group that the image belongs to, in case it's an EET(including Edje case) file. This can be used as a key inside evas image cache if this is a normal image file not eet file.]] @@ -74,8 +74,8 @@ interface Efl.File { interested in: they'll be ignored by the function.]] } values { - file: const(char)*; [[The image file path.]] - key: const(char)*; [[The image key in $file (if its an Eet one), or + file: string; [[The image file path.]] + key: string; [[The image key in $file (if its an Eet one), or $null, otherwise.]] } } @@ -111,11 +111,11 @@ interface Efl.File { return: bool; params { - @in file: const(char)* @nonull; [[The filename to be used to save the image (extension + @in file: string @nonull; [[The filename to be used to save the image (extension obligatory).]] - @in key: const(char)*; [[The image key in the file (if an Eet one), or $null, + @in key: string; [[The image key in the file (if an Eet one), or $null, otherwise.]] - @in flags: const(char)*; [[String containing the flags to be used ($null for + @in flags: string; [[String containing the flags to be used ($null for none).]] } } diff --git a/src/lib/efl/interfaces/efl_gfx.eo b/src/lib/efl/interfaces/efl_gfx.eo index bfa1491fa9..c145c833c0 100644 --- a/src/lib/efl/interfaces/efl_gfx.eo +++ b/src/lib/efl/interfaces/efl_gfx.eo @@ -102,7 +102,7 @@ interface Efl.Gfx { return: bool; } keys { - part: const (char)*; [[The part you are interested in.]] + part: string; [[The part you are interested in.]] } values { r: int; [[The red component of the given color.]] diff --git a/src/lib/efl/interfaces/efl_gfx_filter.eo b/src/lib/efl/interfaces/efl_gfx_filter.eo index cb6f4772b3..29a9644c10 100644 --- a/src/lib/efl/interfaces/efl_gfx_filter.eo +++ b/src/lib/efl/interfaces/efl_gfx_filter.eo @@ -31,8 +31,8 @@ interface Efl.Gfx.Filter ]] } values { - code: const(char)*; [[The Lua program source code.]] - name: const(char)* @optional; [[An optional name for this filter.]] + code: string; [[The Lua program source code.]] + name: string @optional; [[An optional name for this filter.]] } } @property filter_state { @@ -49,9 +49,9 @@ interface Efl.Gfx.Filter get {} set {} values { - cur_state: const(char)*; + cur_state: string; cur_val: double; - next_state: const(char)* @optional; + next_state: string @optional; next_val: double @optional; pos: double @optional; } @@ -82,7 +82,7 @@ interface Efl.Gfx.Filter set {} get {} keys { - name: const(char)*; [[Buffer name as used in the program.]] + name: string; [[Buffer name as used in the program.]] } values { source: Efl.Gfx; [[Object to use as a source of pixels.]] @@ -100,10 +100,10 @@ interface Efl.Gfx.Filter This can be used to pass in tables. ]] keys { - name: const(char)*; [[Name of the global variable]] + name: string; [[Name of the global variable]] } values { - value: const(char)*; [[String value to use as data]] + value: string; [[String value to use as data]] execute: bool(false); [[If $true, execute 'name = value']] } } diff --git a/src/lib/efl/interfaces/efl_gfx_shape.eo b/src/lib/efl/interfaces/efl_gfx_shape.eo index 3c63738c9e..6163dbaef3 100644 --- a/src/lib/efl/interfaces/efl_gfx_shape.eo +++ b/src/lib/efl/interfaces/efl_gfx_shape.eo @@ -391,7 +391,7 @@ mixin Efl.Gfx.Shape } append_svg_path { params { - @in svg_path_data: const(char)*; + @in svg_path_data: string; } } interpolate { diff --git a/src/lib/efl/interfaces/efl_input_device.eo b/src/lib/efl/interfaces/efl_input_device.eo index 732d2dd45e..6791a86260 100644 --- a/src/lib/efl/interfaces/efl_input_device.eo +++ b/src/lib/efl/interfaces/efl_input_device.eo @@ -67,12 +67,12 @@ class Efl.Input.Device (Eo.Base) } @property name { values { - name: const(char)*; + name: string; } } @property description { values { - desc: const(char)*; + desc: string; } } @property parent { diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo index 808ac7ce42..cb3eab4007 100644 --- a/src/lib/efl/interfaces/efl_model.eo +++ b/src/lib/efl/interfaces/efl_model.eo @@ -1,6 +1,6 @@ struct Efl.Model.Property_Event { - changed_properties: array; [[List of changed properties]] - invalidated_properties: array; [[Removed properties identified by name]] + changed_properties: array; [[List of changed properties]] + invalidated_properties: array; [[Removed properties identified by name]] } interface Efl.Model () @@ -22,7 +22,7 @@ interface Efl.Model () ]] } values { - properties: const(array); [[array of current properties]] + properties: const(array); [[array of current properties]] } } property_set { @@ -44,7 +44,7 @@ interface Efl.Model () @since 1.14 ]] params { - @in property: const(char)*; [[Property name]] + @in property: string; [[Property name]] @in value: const(generic_value)*; [[New value]] @inout promise: promise; [[Promise returning the recorded value or error]] } @@ -61,7 +61,7 @@ interface Efl.Model () @since 1.14 ]] params { - @in property: const(char)*; [[Property name]] + @in property: string; [[Property name]] @inout value: promise; [[Promise of the value that was got]] } } diff --git a/src/lib/efl/interfaces/efl_part.eo b/src/lib/efl/interfaces/efl_part.eo index 76ef1707c4..86ddadb865 100644 --- a/src/lib/efl/interfaces/efl_part.eo +++ b/src/lib/efl/interfaces/efl_part.eo @@ -38,7 +38,7 @@ interface Efl.Part The returned object is valid for only a single function call. ]] params { - name: const(char)*; [[The part name.]] + name: string; [[The part name.]] } return: Eo.Base; [[A (proxy) object, valid for a single call.]] } diff --git a/src/lib/efl/interfaces/efl_text.eo b/src/lib/efl/interfaces/efl_text.eo index 4f2c4bdd87..fa329bb4fa 100644 --- a/src/lib/efl/interfaces/efl_text.eo +++ b/src/lib/efl/interfaces/efl_text.eo @@ -17,7 +17,7 @@ interface Efl.Text { ]] } values { - text: const(char)*; [[Text string to display on it.]] + text: string; [[Text string to display on it.]] } } } diff --git a/src/lib/efl/interfaces/efl_text_properties.eo b/src/lib/efl/interfaces/efl_text_properties.eo index 884d2c78f7..e4c8e35c4d 100644 --- a/src/lib/efl/interfaces/efl_text_properties.eo +++ b/src/lib/efl/interfaces/efl_text_properties.eo @@ -28,7 +28,7 @@ interface Efl.Text.Properties { ]] } values { - font: const(char) *; [[The font family name or filename.]] + font: string; [[The font family name or filename.]] size: Efl_Font_Size; [[The font size, in points.]] } } @@ -51,7 +51,7 @@ interface Efl.Text.Properties { ]] } values { - font_source: const(char)*; [[The font file's path.]] + font_source: string; [[The font file's path.]] } } } diff --git a/src/lib/efl/interfaces/efl_ui_progress.eo b/src/lib/efl/interfaces/efl_ui_progress.eo index 386bc41635..3b901c2f25 100644 --- a/src/lib/efl/interfaces/efl_ui_progress.eo +++ b/src/lib/efl/interfaces/efl_ui_progress.eo @@ -55,7 +55,7 @@ interface Efl.Ui.Progress { get { } values { - units: const(char)* @nullable; [[The format string for $obj's units label]] + units: string @nullable; [[The format string for $obj's units label]] } } } diff --git a/src/lib/efl/interfaces/efl_vpath.eo b/src/lib/efl/interfaces/efl_vpath.eo index 6d472ae543..7447a2a2be 100644 --- a/src/lib/efl/interfaces/efl_vpath.eo +++ b/src/lib/efl/interfaces/efl_vpath.eo @@ -23,7 +23,7 @@ interface Efl.Vpath fetch { [[ Fetch a new Vpath File object from the Vpath system ]] params { - path: const(char)*; [[ The input virtual file path to fetch ]] + path: string; [[ The input virtual file path to fetch ]] } return: own(Efl.Vpath.File); [[ An object representing the file ]] } diff --git a/src/lib/efl/interfaces/efl_vpath_core.eo b/src/lib/efl/interfaces/efl_vpath_core.eo index 23503d27dd..83746c0a89 100644 --- a/src/lib/efl/interfaces/efl_vpath_core.eo +++ b/src/lib/efl/interfaces/efl_vpath_core.eo @@ -13,16 +13,16 @@ class Efl.Vpath.Core (Eo.Base, Efl.Vpath) meta_set { [[ A Meta key is a mapping from a virtual path to a real one ]] params { - key: const(char)*; [[ The magic path key being looked up ]] - path: const(char)*; [[ The real path the key maps to ]] + key: string; [[ The magic path key being looked up ]] + path: string; [[ The real path the key maps to ]] } } meta_get { [[ This returns the real path set for a Meta key, or NULL if not ]] params { - key: const(char)*; [[ The magic path key being looked up ]] + key: string; [[ The magic path key being looked up ]] } - return: const(char)*; + return: string; } } implements { diff --git a/src/lib/efl/interfaces/efl_vpath_file.eo b/src/lib/efl/interfaces/efl_vpath_file.eo index d55a1eb6cd..ce82c7ea94 100644 --- a/src/lib/efl/interfaces/efl_vpath_file.eo +++ b/src/lib/efl/interfaces/efl_vpath_file.eo @@ -21,7 +21,7 @@ class Efl.Vpath.File (Eo.Base) set {} get {} values { - path: const(char)*; [[ The input virtual path to a file ]] + path: string; [[ The input virtual path to a file ]] } } @property result { @@ -29,7 +29,7 @@ class Efl.Vpath.File (Eo.Base) set {} get {} values { - path: const(char)*; [[ The resulting destination file ]] + path: string; [[ The resulting destination file ]] } } do { diff --git a/src/lib/efl/interfaces/efl_vpath_manager.eo b/src/lib/efl/interfaces/efl_vpath_manager.eo index 5533fa8562..47f25f6004 100644 --- a/src/lib/efl/interfaces/efl_vpath_manager.eo +++ b/src/lib/efl/interfaces/efl_vpath_manager.eo @@ -9,7 +9,7 @@ class Efl.Vpath.Manager (Eo.Base) fetch @class { [[ This class function fetches a Vpath File given an input path ]] params { - path: const(char)*; [[ The input virtual file path to fetch ]] + path: string; [[ The input virtual file path to fetch ]] } return: own(Efl.Vpath.File); [[ An object representing the file ]] } diff --git a/src/lib/eio/eio_job.eo b/src/lib/eio/eio_job.eo index 11ddf3e835..6fc9faedda 100644 --- a/src/lib/eio/eio_job.eo +++ b/src/lib/eio/eio_job.eo @@ -15,13 +15,13 @@ struct Eio.Filter.Direct.Data struct Eio.Filter.Name.Data { - file: const(char)*; + file: string; filter: bool; } struct Eio.Xattr.Data { - data: const(char)*; + data: string; size: uint; } @@ -34,15 +34,15 @@ class Eio.Job (Eo.Base) file_ls { [[Lists entries in a given path.]] params { - @in path: const(char)*; + @in path: string; } - return: promise; + return: promise; } file_direct_ls { [[Lists entries in a given path with more information.]] params { - @in path: const(char)*; + @in path: string; } return: promise; } @@ -50,7 +50,7 @@ class Eio.Job (Eo.Base) file_stat_ls { [[Lists entries in a given path with stat information.]] params { - @in path: const(char)*; + @in path: string; } return: promise; } @@ -58,7 +58,7 @@ class Eio.Job (Eo.Base) dir_stat_ls { [[Recursively list the directory content and its sub content.]] params { - @in path: const(char)*; + @in path: string; } return: promise; } @@ -66,7 +66,7 @@ class Eio.Job (Eo.Base) dir_direct_ls { [[Recursively list the directory content and its sub content.]] params { - @in path: const(char)*; + @in path: string; } return: promise; } @@ -74,7 +74,7 @@ class Eio.Job (Eo.Base) file_direct_stat { [[Get stat info on a given file/directory.]] params { - @in path: const(char)*; + @in path: string; } return: promise; } @@ -83,10 +83,10 @@ class Eio.Job (Eo.Base) @property file_xattr_list { [[Lists all extended attributes asynchronously.]] keys { - path: const(char)*; + path: string; } get { - return: promise; + return: promise; } } @@ -94,8 +94,8 @@ class Eio.Job (Eo.Base) [[Retrieves or sets information of a given extended attribute.]] set { values { - attribute: const(char)*; - xattr_data: const(char)*; + attribute: string; + xattr_data: string; xattr_size: uint; flags: Eina.Xattr.Flags; } @@ -103,13 +103,13 @@ class Eio.Job (Eo.Base) } get { keys { - path: const(char)*; - attribute: const(char)*; + path: string; + attribute: string; } return: promise; } keys { - path: const(char)*; + path: string; } } @@ -119,7 +119,7 @@ class Eio.Job (Eo.Base) The fulfilled value in the promise will be the Eina.File*.]] params { - @in path: const(char)*; + @in path: string; @in shared: bool; } return: promise; diff --git a/src/lib/eio/eio_model.eo b/src/lib/eio/eio_model.eo index ce6fddc709..0f9799c187 100644 --- a/src/lib/eio/eio_model.eo +++ b/src/lib/eio/eio_model.eo @@ -29,7 +29,7 @@ class Eio.Model (Eo.Base, Efl.Model) @since 1.11 ]] params { - @in path: const(char)*; [[Root path provided by caller]] + @in path: string; [[Root path provided by caller]] } } } diff --git a/src/lib/eio/eio_sentry.eo b/src/lib/eio/eio_sentry.eo index 71928e90c3..4737e08015 100644 --- a/src/lib/eio/eio_sentry.eo +++ b/src/lib/eio/eio_sentry.eo @@ -3,8 +3,8 @@ import eina_types; struct Eio.Sentry.Event { [[Wraps the data about a monitor event on a file.]] - trigger: const(char)*; [[The cause of the event.]] - source: const(char)*; [[The original monitored path.]] + trigger: string; [[The cause of the event.]] + source: string; [[The original monitored path.]] } class Eio.Sentry (Eo.Base) @@ -15,14 +15,14 @@ class Eio.Sentry (Eo.Base) add { [[Adds a new path to the list of monitored paths.]] params { - @in path: const(char)*; + @in path: string; } return : bool; } del { [[Removes the given path from the monitored list.]] params { - @in path: const(char)*; + @in path: string; } } } diff --git a/src/lib/eldbus/eldbus_model_arguments.eo b/src/lib/eldbus/eldbus_model_arguments.eo index 293cbf55bc..3849fbf7b3 100644 --- a/src/lib/eldbus/eldbus_model_arguments.eo +++ b/src/lib/eldbus/eldbus_model_arguments.eo @@ -10,7 +10,7 @@ class Eldbus.Model.Arguments (Eo.Base, Efl.Model) { @since 1.16]] params { @in proxy: Eldbus.Proxy*; [[Eldbus proxy]] - @in name: const(char)*; [[Name]] + @in name: string; [[Name]] @in arguments: const(list); [[The introspected arguments]] } } @@ -18,7 +18,7 @@ class Eldbus.Model.Arguments (Eo.Base, Efl.Model) { [[Name of the argument]] get {} values { - name: const(char)*; [[Argument name]] + name: string; [[Argument name]] } } } diff --git a/src/lib/eldbus/eldbus_model_connection.eo b/src/lib/eldbus/eldbus_model_connection.eo index 303000b32e..7aafd1d5e1 100644 --- a/src/lib/eldbus/eldbus_model_connection.eo +++ b/src/lib/eldbus/eldbus_model_connection.eo @@ -8,7 +8,7 @@ class Eldbus.Model.Connection (Eo.Base, Efl.Model) { @since 1.16]] params { @in type: int; [[The connection type]] - @in address: const(char)*; [[Remote address of DBus]] + @in address: string; [[Remote address of DBus]] @in private_: bool; [[Non shared dbus connection]] } } @@ -21,7 +21,7 @@ class Eldbus.Model.Connection (Eo.Base, Efl.Model) { @property address { [[Remote DBus address]] values { - address: const(char)*; [[Address]] + address: string; [[Address]] } } @property private { diff --git a/src/lib/eldbus/eldbus_model_object.eo b/src/lib/eldbus/eldbus_model_object.eo index 1f999ccc2b..18529fbab5 100644 --- a/src/lib/eldbus/eldbus_model_object.eo +++ b/src/lib/eldbus/eldbus_model_object.eo @@ -11,10 +11,10 @@ class Eldbus.Model.Object (Eo.Base, Efl.Model) { @since 1.16]] params { @in type: int; [[The connection type]] - @in address: const(char)*; [[Remote address of DBus]] + @in address: string; [[Remote address of DBus]] @in private_: bool; [[Non shared DBus connection]] - @in bus: const(char)*; [[DBus Name or unique-id]] - @in path: const(char)*; [[DBus path]] + @in bus: string; [[DBus Name or unique-id]] + @in path: string; [[DBus path]] } } connection_constructor { @@ -23,8 +23,8 @@ class Eldbus.Model.Object (Eo.Base, Efl.Model) { @since 1.16]] params { @in connection: Eldbus.Connection*; [[Eldbus connection]] - @in bus: const(char)*; [[DBus Name or unique-id]] - @in path: const(char)*; [[DBus path]] + @in bus: string; [[DBus Name or unique-id]] + @in path: string; [[DBus path]] } } @property type { @@ -36,7 +36,7 @@ class Eldbus.Model.Object (Eo.Base, Efl.Model) { @property address { [[Remote address of DBus]] values { - address: const(char)*; [[Address]] + address: string; [[Address]] } } @property private { @@ -48,13 +48,13 @@ class Eldbus.Model.Object (Eo.Base, Efl.Model) { @property bus { [[DBus Name or unique-id]] values { - bus: const(char)*; [[DBus name]] + bus: string; [[DBus name]] } } @property path { [[DBus path]] values { - path: const(char)*; [[DBus path]] + path: string; [[DBus path]] } } } diff --git a/src/lib/eldbus/eldbus_model_proxy.eo b/src/lib/eldbus/eldbus_model_proxy.eo index d0b4e240a1..7b9363069e 100644 --- a/src/lib/eldbus/eldbus_model_proxy.eo +++ b/src/lib/eldbus/eldbus_model_proxy.eo @@ -17,7 +17,7 @@ class Eldbus.Model.Proxy (Eo.Base, Efl.Model) { [[Proxy name]] get {} values { - name: const(char)*; [[Proxy name]] + name: string; [[Proxy name]] } } } diff --git a/src/lib/elementary/efl_ui_image.eo b/src/lib/elementary/efl_ui_image.eo index a485366ea9..4c87fe2ab1 100644 --- a/src/lib/elementary/efl_ui_image.eo +++ b/src/lib/elementary/efl_ui_image.eo @@ -125,7 +125,7 @@ class Efl.Ui.Image (Elm.Widget, Evas.Clickable_Interface, Evas.Draggable_Interfa ]] } values { - name: const(char)*; [[The icon name]] + name: string; [[The icon name]] } } } diff --git a/src/lib/elementary/efl_ui_layout_internal_box.eo b/src/lib/elementary/efl_ui_layout_internal_box.eo index 97fac12d1d..d183ac63b3 100644 --- a/src/lib/elementary/efl_ui_layout_internal_box.eo +++ b/src/lib/elementary/efl_ui_layout_internal_box.eo @@ -12,7 +12,7 @@ class Efl.Ui.Layout_Internal.Box (Eo.Base, Efl.Pack.Linear) values { layout: Eo.Base; pack: Eo.Base; - part: const(char)*; + part: string; } } } diff --git a/src/lib/elementary/efl_ui_layout_internal_table.eo b/src/lib/elementary/efl_ui_layout_internal_table.eo index c4081c22c0..85cbdedc92 100644 --- a/src/lib/elementary/efl_ui_layout_internal_table.eo +++ b/src/lib/elementary/efl_ui_layout_internal_table.eo @@ -12,7 +12,7 @@ class Efl.Ui.Layout_Internal.Table (Eo.Base, Efl.Pack.Grid) values { layout: Eo.Base; pack: Eo.Base; - part: const(char)*; + part: string; } } } diff --git a/src/lib/elementary/elm_actionslider.eo b/src/lib/elementary/elm_actionslider.eo index 8c2d1db875..acb32cd4f1 100644 --- a/src/lib/elementary/elm_actionslider.eo +++ b/src/lib/elementary/elm_actionslider.eo @@ -64,7 +64,7 @@ class Elm.Actionslider (Elm.Layout, Evas.Selectable_Interface) @property selected_label { get { [[Get actionslider selected label.]] - return: const(char)*; [[Selected label]] + return: string; [[Selected label]] } } } diff --git a/src/lib/elementary/elm_app_client.eo b/src/lib/elementary/elm_app_client.eo index 2e312672e1..f32b1b4f75 100644 --- a/src/lib/elementary/elm_app_client.eo +++ b/src/lib/elementary/elm_app_client.eo @@ -19,14 +19,14 @@ class Elm.App.Client (Eo.Base) [[Return the application package.]] } values { - ret: const(char)*; [[application package]] + ret: string; [[application package]] } } constructor { [[Class constructor of elm_app_client.]] legacy: null; params { - @in package: const(char)*; [[Package of application]] + @in package: string; [[Package of application]] } } view_all_close { diff --git a/src/lib/elementary/elm_app_client_view.eo b/src/lib/elementary/elm_app_client_view.eo index 9ce26f018a..ecca3e0c8f 100644 --- a/src/lib/elementary/elm_app_client_view.eo +++ b/src/lib/elementary/elm_app_client_view.eo @@ -44,7 +44,7 @@ class Elm.App.Client.View (Eo.Base) } path_set { params { - path: const(char) *; + path: string; } } @property path { @@ -60,7 +60,7 @@ class Elm.App.Client.View (Eo.Base) [[Get application package]] } values { - ret: const(char)*; [[Package of application]] + ret: string; [[Package of application]] } } @property icon { @@ -68,7 +68,7 @@ class Elm.App.Client.View (Eo.Base) [[Get icon path of view]] } values { - ret: const(char)*; [[icon path of view]] + ret: string; [[icon path of view]] } } @property progress { @@ -86,7 +86,7 @@ class Elm.App.Client.View (Eo.Base) [[Get title of view]] } values { - ret: const(char)*; [[title of view]] + ret: string; [[title of view]] } } pause { diff --git a/src/lib/elementary/elm_app_server.eo b/src/lib/elementary/elm_app_server.eo index 32655d20df..a2e14020e1 100644 --- a/src/lib/elementary/elm_app_server.eo +++ b/src/lib/elementary/elm_app_server.eo @@ -28,7 +28,7 @@ class Elm.App.Server (Eo.Base) get { } values { - ret: const(char)*; + ret: string; } } @property package { @@ -56,7 +56,7 @@ class Elm.App.Server (Eo.Base) [[Class constructor of elm_app_server]] legacy: null; params { - @in packageid: const(char)*; [[package of application]] + @in packageid: string; [[package of application]] @in create_view_cb: Elm_App_Server_Create_View_Cb; [[callback to be called when user wants to open some application view]] } } @@ -66,7 +66,7 @@ class Elm.App.Server (Eo.Base) view_check { [[If view id is available and unique, return the full DBus object path of view]] params { - @in id: const(char)*; [[view identifier]] + @in id: string; [[view identifier]] } return: bool; [[true if id is valid or false if not]] } @@ -82,7 +82,7 @@ class Elm.App.Server (Eo.Base) title_set { [[Set a title to application.]] params { - @in title: const(char)* @nullable; [[title of application]] + @in title: string @nullable; [[title of application]] } } title_get { diff --git a/src/lib/elementary/elm_app_server_view.eo b/src/lib/elementary/elm_app_server_view.eo index 9b7d2b1d38..52a1194fde 100644 --- a/src/lib/elementary/elm_app_server_view.eo +++ b/src/lib/elementary/elm_app_server_view.eo @@ -28,7 +28,7 @@ class Elm.App.Server.View (Eo.Base) get { } values { - icon: const(char)*; + icon: string; } } @property title { @@ -37,7 +37,7 @@ class Elm.App.Server.View (Eo.Base) get { } values { - title: const(char)* @nullable; + title: string @nullable; } } @property window { @@ -53,7 +53,7 @@ class Elm.App.Server.View (Eo.Base) get { } values { - ret: const(char) *; + ret: string; } } @property state { @@ -67,7 +67,7 @@ class Elm.App.Server.View (Eo.Base) get { } values { - ret: const(char)*; + ret: string; } } @property pixels { diff --git a/src/lib/elementary/elm_calendar.eo b/src/lib/elementary/elm_calendar.eo index 6a851b7922..7ac57ab6f3 100644 --- a/src/lib/elementary/elm_calendar.eo +++ b/src/lib/elementary/elm_calendar.eo @@ -169,7 +169,7 @@ class Elm.Calendar (Elm.Layout, Elm.Interface.Atspi_Widget_Action) get { } values { - weekdays: const(char)**; [[Array of seven strings to be used as weekday names. + weekdays: string*; [[Array of seven strings to be used as weekday names. Warning: It must have 7 elements, or it will access invalid memory. Warning: The strings must be $null terminated ('@\0').]] } @@ -324,7 +324,7 @@ class Elm.Calendar (Elm.Layout, Elm.Interface.Atspi_Widget_Action) */ return: Elm.Calendar.Mark *; [[The newly added calendar mark]] params { - @in mark_type: const(char)*; [[A string used to define the type of mark. It will be + @in mark_type: string; [[A string used to define the type of mark. It will be emitted to the theme, that should display a related modification on these days representation.]] @in mark_time: Efl.Time *; [[A time struct to represent the date of inclusion of the diff --git a/src/lib/elementary/elm_colorselector.eo b/src/lib/elementary/elm_colorselector.eo index 40e786f1d5..b36f083f24 100644 --- a/src/lib/elementary/elm_colorselector.eo +++ b/src/lib/elementary/elm_colorselector.eo @@ -51,7 +51,7 @@ class Elm.Colorselector (Elm.Layout, Elm.Interface.Atspi_Widget_Action, ]] } values { - palette_name: const(char)*; [[Name of palette]] + palette_name: string; [[Name of palette]] } } @property mode { diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo index 42afb26cdc..2c4a551019 100644 --- a/src/lib/elementary/elm_ctxpopup.eo +++ b/src/lib/elementary/elm_ctxpopup.eo @@ -174,7 +174,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]] params { - @in label: const(char)*; [[The Label of the new item]] + @in label: string; [[The Label of the new item]] @in icon: Evas.Object @optional; [[Icon to be set on new item]] @in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]] @in data: const(void)* @optional; [[Data passed to $func]] @@ -193,7 +193,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]] params { - @in label: const(char)*; [[The Label of the new item]] + @in label: string; [[The Label of the new item]] @in icon: Evas.Object @optional; [[Icon to be set on new item]] @in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]] @in data: const(void)* @optional; [[Data passed to $func]] diff --git a/src/lib/elementary/elm_datetime.eo b/src/lib/elementary/elm_datetime.eo index ed2dabb8d1..7d3c879065 100644 --- a/src/lib/elementary/elm_datetime.eo +++ b/src/lib/elementary/elm_datetime.eo @@ -99,7 +99,7 @@ class Elm.Datetime (Elm.Layout) [[Get the datetime format.]] } values { - fmt: const(char)* @nullable; [[The datetime format.]] + fmt: string @nullable; [[The datetime format.]] } } field_limit_set { diff --git a/src/lib/elementary/elm_dayselector.eo b/src/lib/elementary/elm_dayselector.eo index a0d2935925..1fe6afdeaa 100644 --- a/src/lib/elementary/elm_dayselector.eo +++ b/src/lib/elementary/elm_dayselector.eo @@ -106,7 +106,7 @@ class Elm.Dayselector (Elm.Layout) */ params { - @in weekdays: const(char)* * @nullable; [[Array of seven strings to be used as weekday names. + @in weekdays: string * @nullable; [[Array of seven strings to be used as weekday names. Warning: It must have 7 elements, or it will access invalid memory. Warning: The strings must be NULL terminated ('@\0').]] } diff --git a/src/lib/elementary/elm_diskselector.eo b/src/lib/elementary/elm_diskselector.eo index 3e871f29f1..9a86234cf4 100644 --- a/src/lib/elementary/elm_diskselector.eo +++ b/src/lib/elementary/elm_diskselector.eo @@ -178,7 +178,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable, */ return: Elm.Widget.Item; params { - @in label: const(char)*; [[The label of the diskselector item.]] + @in label: string; [[The label of the diskselector item.]] @in icon: Evas.Object @optional; [[The icon object to use at left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add(). ]] diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo index 196b58a1ef..faee11b5f2 100644 --- a/src/lib/elementary/elm_entry.eo +++ b/src/lib/elementary/elm_entry.eo @@ -303,7 +303,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, [[Get the style that the hover should use.]] } values { - style: const(char)* @nullable; [[The style to use for the underlying hover.]] + style: string @nullable; [[The style to use for the underlying hover.]] } } @property single_line { @@ -643,7 +643,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, or modified in any way. If the $entry object is deleted or its contents are changed, the returned pointer should be considered invalid. ]] - return: const(char)*; + return: string; } } @property cursor_is_visible_format { @@ -735,7 +735,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, @since 1.7 ]] params { - @in style: const(char)*; [[The style user to push.]] + @in style: string; [[The style user to push.]] } } item_provider_remove { @@ -756,7 +756,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, @since 1.7 ]] - return: const(char)*; + return: string; } context_menu_clear { [[This clears and frees the items in a entry's contextual (longpress) @@ -785,7 +785,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, See also @.markup_filter_append. ]] params { - @in entry: const(char)*; [[The text to insert.]] + @in entry: string; [[The text to insert.]] } } input_panel_imdata_set { @@ -899,7 +899,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, See also @.markup_filter_append. ]] params { - @in str: const(char)*; [[The text to be appended.]] + @in str: string; [[The text to be appended.]] } } context_menu_item_add { @@ -915,8 +915,8 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface, perform any action they deem necessary. ]] params { - @in label: const(char)* @optional; [[The item's text label.]] - @in icon_file: const(char)* @optional; [[The item's icon file.]] + @in label: string @optional; [[The item's text label.]] + @in icon_file: string @optional; [[The item's icon file.]] @in icon_type: Elm.Icon.Type; [[The item's icon type.]] @in func: Evas_Smart_Cb @optional; [[The callback to execute when the item is clicked.]] @in data: const(void)* @optional; [[The data to associate with the item for related functions.]] diff --git a/src/lib/elementary/elm_flipselector.eo b/src/lib/elementary/elm_flipselector.eo index 2846eb3d79..4d8cd1a189 100644 --- a/src/lib/elementary/elm_flipselector.eo +++ b/src/lib/elementary/elm_flipselector.eo @@ -76,7 +76,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin, ]] return: Elm.Widget.Item; params { - @in label: const(char)*; [[The (text) label of the new item.]] + @in label: string; [[The (text) label of the new item.]] @in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when item is selected.]] @in data: void * @optional; [[Data passed to $func, above.]] @@ -107,7 +107,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin, ]] return: Elm.Widget.Item; params { - @in label: const(char)*; [[The (text) label of the new item.]] + @in label: string; [[The (text) label of the new item.]] @in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when item is selected.]] @in data: const(void)* @optional; [[Data passed to $func, above.]] diff --git a/src/lib/elementary/elm_gengrid.eo b/src/lib/elementary/elm_gengrid.eo index db0268cdd4..0a346c55e6 100644 --- a/src/lib/elementary/elm_gengrid.eo +++ b/src/lib/elementary/elm_gengrid.eo @@ -516,8 +516,8 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable, Pointer to item to start search from. If $null, search will be started from the first item of the gengrid. ]] - @in part_name: const(char) *; [[Name of the TEXT part of gengrid item to search string in.]] - @in pattern: const(char) *; [[The search pattern.]] + @in part_name: string; [[Name of the TEXT part of gengrid item to search string in.]] + @in pattern: string; [[The search pattern.]] @in flags: Elm.Glob.Match_Flags; [[Search flags.]] } } diff --git a/src/lib/elementary/elm_gengrid_item.eo b/src/lib/elementary/elm_gengrid_item.eo index 7fd88ee2c9..abfdbf388e 100644 --- a/src/lib/elementary/elm_gengrid_item.eo +++ b/src/lib/elementary/elm_gengrid_item.eo @@ -178,7 +178,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item) @since 1.15]] params { - @in parts: const (char) *; [[The name of item's part]] + @in parts: string; [[The name of item's part]] @in itf: Elm.Gengrid.Item.Field_Type; [[The type of item's part type]] } } diff --git a/src/lib/elementary/elm_genlist.eo b/src/lib/elementary/elm_genlist.eo index 7e8edc1711..dee65d76b4 100644 --- a/src/lib/elementary/elm_genlist.eo +++ b/src/lib/elementary/elm_genlist.eo @@ -517,8 +517,8 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac Pointer to item to start search from. If $null, search will be started from the first item of the genlist. ]] - @in part_name: const(char)*; [[Name of the TEXT part of genlist item to search string in.]] - @in pattern: const(char)*; [[The search pattern.]] + @in part_name: string; [[Name of the TEXT part of genlist item to search string in.]] + @in pattern: string; [[The search pattern.]] @in flags: Elm.Glob.Match_Flags; [[Search flags.]] } } diff --git a/src/lib/elementary/elm_genlist_item.eo b/src/lib/elementary/elm_genlist_item.eo index a8e0746884..5b7c9f11be 100644 --- a/src/lib/elementary/elm_genlist_item.eo +++ b/src/lib/elementary/elm_genlist_item.eo @@ -187,7 +187,7 @@ class Elm.Genlist.Item(Elm.Widget.Item) ]] } values { - decorate_it_type: const(char)*; [[Name of the item's decorate mode.]] + decorate_it_type: string; [[Name of the item's decorate mode.]] } } @property flip { @@ -362,7 +362,7 @@ class Elm.Genlist.Item(Elm.Widget.Item) item's all property. ]] params { - @in parts: const (char) *; [[The name of item's part.]] + @in parts: string; [[The name of item's part.]] @in itf: Elm.Genlist.Item.Field_Type; [[The type of item's part type.]] } } @@ -413,7 +413,7 @@ class Elm.Genlist.Item(Elm.Widget.Item) deactivated from that item. ]] params { - @in decorate_it_type: const(char)*; [[Mode name.]] + @in decorate_it_type: string; [[Mode name.]] @in decorate_it_set: bool; [[Boolean to define set or unset mode.]] } } diff --git a/src/lib/elementary/elm_hover.eo b/src/lib/elementary/elm_hover.eo index 0b74521fda..9abec305d2 100644 --- a/src/lib/elementary/elm_hover.eo +++ b/src/lib/elementary/elm_hover.eo @@ -47,7 +47,7 @@ class Elm.Hover (Elm.Layout, Evas.Clickable_Interface, Elm.Interface.Atspi_Widge See also \@ref elm_object_part_content_set. ]] - return: const(char)*; + return: string; params { @in pref_axis: Elm.Hover.Axis; [[The preferred orientation axis for the hover object to use]] diff --git a/src/lib/elementary/elm_hoversel.eo b/src/lib/elementary/elm_hoversel.eo index 8bc6e6a200..a5f0bbc981 100644 --- a/src/lib/elementary/elm_hoversel.eo +++ b/src/lib/elementary/elm_hoversel.eo @@ -80,8 +80,8 @@ class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface, @ref Icon "icon documentation". */ return: Elm.Widget.Item; [[A handle to the added item.]] params { - @in label: const(char)* @optional; [[The text label to use for the item (NULL if not desired)]] - @in icon_file: const(char)* @optional; [[An image file path on disk to use for the icon or standard icon name (NULL if not desired)]] + @in label: string @optional; [[The text label to use for the item (NULL if not desired)]] + @in icon_file: string @optional; [[An image file path on disk to use for the icon or standard icon name (NULL if not desired)]] @in icon_type: Elm.Icon.Type; [[The icon type if relevant]] @in func: Evas_Smart_Cb @optional; [[Convenience function to call when this item is selected. The last parameter $event_info of $func is the selected item pointer.]] @in data: const(void)* @optional; [[Data to pass to item-related functions]] diff --git a/src/lib/elementary/elm_hoversel_item.eo b/src/lib/elementary/elm_hoversel_item.eo index 1210cf0430..dc0411ca8d 100644 --- a/src/lib/elementary/elm_hoversel_item.eo +++ b/src/lib/elementary/elm_hoversel_item.eo @@ -14,8 +14,8 @@ class Elm.Hoversel.Item(Elm.Widget.Item) set { } values { - icon_file: const (char) * @nullable; [[An image file path on disk to use for the icon or standard icon name]] - icon_group: const (char) * @nullable; [[The edje group to use if $icon_file is an edje file. Set this to NULL if the icon is not an edje file]] + icon_file: string @nullable; [[An image file path on disk to use for the icon or standard icon name]] + icon_group: string @nullable; [[The edje group to use if $icon_file is an edje file. Set this to NULL if the icon is not an edje file]] icon_type: Elm.Icon.Type; [[The icon type]] } } diff --git a/src/lib/elementary/elm_index.eo b/src/lib/elementary/elm_index.eo index ffb79081b8..6795602c48 100644 --- a/src/lib/elementary/elm_index.eo +++ b/src/lib/elementary/elm_index.eo @@ -100,7 +100,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation, return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]] params { - @in letter: const(char)*; [[Letter under which the item should be indexed]] + @in letter: string; [[Letter under which the item should be indexed]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is selected.]] @in data: const(void)* @optional; [[The item data to set for the index's item]] } @@ -127,7 +127,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation, return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]] params { @in after: Elm.Widget.Item; [[The index item to insert after.]] - @in letter: const(char)*; [[Letter under which the item should be indexed]] + @in letter: string; [[Letter under which the item should be indexed]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The item data to set for the index's item]] } @@ -156,7 +156,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation, return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]] params { @in before: Elm.Widget.Item; [[The index item to insert after.]] - @in letter: const(char)*; [[Letter under which the item should be indexed]] + @in letter: string; [[Letter under which the item should be indexed]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The item data to set for the index's item]] } @@ -173,7 +173,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation, return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]] params { - @in letter: const(char)*; [[Letter under which the item should be indexed]] + @in letter: string; [[Letter under which the item should be indexed]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is selected.]] @in data: const(void)* @optional; [[The item data to set for the index's item]] } @@ -198,7 +198,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation, return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]] params { - @in letter: const(char)*; [[Letter under which the item should be indexed]] + @in letter: string; [[Letter under which the item should be indexed]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The item data to set for the index's item]] @in cmp_func: Eina_Compare_Cb; [[The comparing function to be used to sort index items by index item handles]] diff --git a/src/lib/elementary/elm_index_item.eo b/src/lib/elementary/elm_index_item.eo index 55afb03f26..4e1d2a79c1 100644 --- a/src/lib/elementary/elm_index_item.eo +++ b/src/lib/elementary/elm_index_item.eo @@ -36,7 +36,7 @@ class Elm.Index.Item(Elm.Widget.Item, Elm.Interface.Atspi_Widget_Action) } letter_get @const { [[Get the letter (string) set on a given index widget item.]] - return: const (char)*; [[The letter string set on $item]] + return: string; [[The letter string set on $item]] } } implements { diff --git a/src/lib/elementary/elm_interface_atspi_accessible.eo b/src/lib/elementary/elm_interface_atspi_accessible.eo index 1c53c382a1..342c9fe454 100644 --- a/src/lib/elementary/elm_interface_atspi_accessible.eo +++ b/src/lib/elementary/elm_interface_atspi_accessible.eo @@ -210,8 +210,8 @@ struct Elm.Atspi.Event.Children_Changed.Data struct Elm.Atspi.Attribute { - key: const(char) *; - value: const(char) *; + key: string; + value: string; } struct Elm.Atspi.Relation @@ -232,7 +232,7 @@ mixin Elm.Interface.Atspi_Accessible () [[Gets an localized string describing ATSPI widget role name.]] } values { - localized_name: const(char)*; + localized_name: string; } } @property name { @@ -276,7 +276,7 @@ mixin Elm.Interface.Atspi_Accessible () [[Gets human-readable string indentifying widget accessibility role.]] } values { - role_name: const(char)*; + role_name: string; } } @property attributes @protected { @@ -303,7 +303,7 @@ mixin Elm.Interface.Atspi_Accessible () [[Sets contextual information about widget.]] } values { - description: const(char)*; + description: string; } } @property parent { @@ -367,7 +367,7 @@ mixin Elm.Interface.Atspi_Accessible () when accessibility is enabled.]] } values { - domain: const(char)*; [[ translation domain ]] + domain: string; [[ translation domain ]] } } @property type { @@ -427,7 +427,7 @@ mixin Elm.Interface.Atspi_Accessible () } } events { - property,changed: const(char)*; + property,changed: string; children,changed: Elm.Atspi.Event.Children_Changed.Data; state,changed: Elm.Atspi.Event.State_Changed.Data; visible,data,changed; diff --git a/src/lib/elementary/elm_interface_atspi_action.eo b/src/lib/elementary/elm_interface_atspi_action.eo index a1b32f1d81..fb74388bdd 100644 --- a/src/lib/elementary/elm_interface_atspi_action.eo +++ b/src/lib/elementary/elm_interface_atspi_action.eo @@ -8,7 +8,7 @@ mixin Elm.Interface.Atspi_Action () [[Gets action name for given id]] } values { - name: const(char)*; + name: string; } keys { id: int; @@ -19,7 +19,7 @@ mixin Elm.Interface.Atspi_Action () [[Gets localized action name for given id]] } values { - name: const(char)*; + name: string; } keys { id: int; @@ -34,7 +34,7 @@ mixin Elm.Interface.Atspi_Action () return: bool; } values { - description: const(char)*; + description: string; } keys { id: int; diff --git a/src/lib/elementary/elm_interface_atspi_image.eo b/src/lib/elementary/elm_interface_atspi_image.eo index ac09f12c15..8002df95e4 100644 --- a/src/lib/elementary/elm_interface_atspi_image.eo +++ b/src/lib/elementary/elm_interface_atspi_image.eo @@ -24,7 +24,7 @@ mixin Elm.Interface.Atspi_Image () set { } values { - description: const(char)*; + description: string; } } @property locale @protected { @@ -32,7 +32,7 @@ mixin Elm.Interface.Atspi_Image () [[Gets locale of the image description.]] } values { - locale: const(char)*; + locale: string; } } } diff --git a/src/lib/elementary/elm_interface_atspi_text.eo b/src/lib/elementary/elm_interface_atspi_text.eo index 35aa80d768..313ab60719 100644 --- a/src/lib/elementary/elm_interface_atspi_text.eo +++ b/src/lib/elementary/elm_interface_atspi_text.eo @@ -20,8 +20,8 @@ enum Elm.Atspi_Text.Clip_Type struct Elm.Atspi_Text.Attribute { - name: const(char)*; - value: const(char)*; + name: string; + value: string; } struct Elm.Atspi_Text.Range @@ -33,7 +33,7 @@ struct Elm.Atspi_Text.Range struct Elm.Atspi_Text.Change_Info { - content: const(char)*; + content: string; inserted: bool; pos: size; len: size; @@ -96,7 +96,7 @@ interface Elm.Interface.Atspi.Text () return: bool; } keys { - name: const(char)* @nonull; [[text attribute name]] + name: string @nonull; [[text attribute name]] start_offset: int * @nonull; [[Position in text from which given attribute is set.]] end_offset: int *; [[Position in text to which given attribute is set.]] } diff --git a/src/lib/elementary/elm_interface_atspi_text_editable.eo b/src/lib/elementary/elm_interface_atspi_text_editable.eo index dc75a30d26..df76ff19ef 100644 --- a/src/lib/elementary/elm_interface_atspi_text_editable.eo +++ b/src/lib/elementary/elm_interface_atspi_text_editable.eo @@ -7,12 +7,12 @@ interface Elm.Interface.Atspi.Text.Editable () return: bool; } values { - string: const(char)*; + string: string; } } insert @protected { params { - @in string: const(char)*; + @in string: string; @in position: int; } return: bool; diff --git a/src/lib/elementary/elm_interface_atspi_value.eo b/src/lib/elementary/elm_interface_atspi_value.eo index 330e9e9370..86e5714832 100644 --- a/src/lib/elementary/elm_interface_atspi_value.eo +++ b/src/lib/elementary/elm_interface_atspi_value.eo @@ -11,7 +11,7 @@ interface Elm.Interface.Atspi.Value () } values { value: double; [[Value of widget casted to floating point number.]] - text: const(char)*; [[string describing value in given context eg. small, enough]] + text: string; [[string describing value in given context eg. small, enough]] } } @property range @protected { @@ -21,7 +21,7 @@ interface Elm.Interface.Atspi.Value () values { lower_limit: double; upper_limit: double; - description: const(char)*; + description: string; } } @property increment @protected { diff --git a/src/lib/elementary/elm_interface_fileselector.eo b/src/lib/elementary/elm_interface_fileselector.eo index 4a96747c2a..9484719702 100644 --- a/src/lib/elementary/elm_interface_fileselector.eo +++ b/src/lib/elementary/elm_interface_fileselector.eo @@ -50,7 +50,7 @@ interface Elm.Interface.Fileselector () [[Get the currently selected item's (full) path, in the given file the given file selector widget]] } values { - path: const(char)*; + path: string; } } @property thumbnail_size { @@ -117,7 +117,7 @@ interface Elm.Interface.Fileselector () [[Get the parent directory's path that a given file selector selector widget will display contents from]] } values { - path: const(char)*; + path: string; } } @property mode { @@ -147,7 +147,7 @@ interface Elm.Interface.Fileselector () [[Get a list of selected paths in the fileselector.]] } values { - ret: const(list); + ret: const(list); } } @property current_name { @@ -156,7 +156,7 @@ interface Elm.Interface.Fileselector () get { } values { - name: const(char)*; + name: string; } } custom_filter_append { @@ -164,7 +164,7 @@ interface Elm.Interface.Fileselector () params { @in func: Elm_Fileselector_Filter_Func; [[function]] @in data: void *; - @in filter_name: const(char)*; + @in filter_name: string; } return: bool; } @@ -174,8 +174,8 @@ interface Elm.Interface.Fileselector () mime_types_filter_append { [[Append mime type based filter into filter list]] params { - @in mime_types: const(char)*; - @in filter_name: const(char)*; + @in mime_types: string; + @in filter_name: string; } return: bool; } diff --git a/src/lib/elementary/elm_layout.eo b/src/lib/elementary/elm_layout.eo index d245c65f34..e7dc9ef579 100644 --- a/src/lib/elementary/elm_layout.eo +++ b/src/lib/elementary/elm_layout.eo @@ -13,8 +13,8 @@ struct Elm.Layout_Part_Alias_Description and their equivalents. This list must be set on the "_smart_set_user()" function of inheriting widgets, so that part aliasing is handled automatically for them. ]] - alias: const(char)*; [[Alternate name for a given (real) part. Calls receiving this string as a part name will be translated to the string at Elm.Layout_Part_Proxies_Description::real_part]] - real_part: const(char)*; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]] + alias: string; [[Alternate name for a given (real) part. Calls receiving this string as a part name will be translated to the string at Elm.Layout_Part_Proxies_Description::real_part]] + real_part: string; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]] } class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) @@ -58,9 +58,9 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: bool; } values { - klass: const(char)*; [[The class of the group.]] - group: const(char)*; [[The group.]] - style: const(char)*; [[The style to used.]] + klass: string; [[The class of the group.]] + group: string; [[The group.]] + style: string; [[The style to used.]] } } @property text_aliases @protected { @@ -109,7 +109,7 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: bool; [[$true on success or $false on failure, that may be part not exists or it did not had a cursor set.]] params { - @in part_name: const(char)*; [[A part from loaded edje group.]] + @in part_name: string; [[A part from loaded edje group.]] @in engine_only: bool; [[If cursors should be just provided by the engine ($true) or should also search on widget's theme as well ($false)]] @@ -120,7 +120,7 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: bool; [[Whenever the cursor is just provided by engine or also from theme.]] params { - @in part_name: const(char)*; [[A part from loaded edje group.]] + @in part_name: string; [[A part from loaded edje group.]] } } freeze { @@ -177,18 +177,18 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: bool; [[True on success or false on failure, that may be part not exists or it did not had a cursor set.]] params { - @in part_name: const(char)*; [[A part from loaded edje group.]] - @in style: const(char)*; [[The theme style to use (default, + @in part_name: string; [[A part from loaded edje group.]] + @in style: string; [[The theme style to use (default, transparent, ...).]] } } part_cursor_style_get @const { [[Get a specific cursor style for an edje part.]] - return: const(char)*; [[The theme style in use, defaults to "default". + return: string; [[The theme style in use, defaults to "default". If the object does not have a cursor set, then $null is returned.]] params { - @in part_name: const(char)*; [[A part from loaded edje group.]] + @in part_name: string; [[A part from loaded edje group.]] } } @property text { @@ -200,10 +200,10 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) [[Get the text set in the given part.]] } keys { - part: const(char)* @nullable; [[The TEXT part where to set the text.]] + part: string @nullable; [[The TEXT part where to set the text.]] } values { - text: const(char)* @nullable; [[The text to set.]] + text: string @nullable; [[The text to set.]] } } signal_callback_add { @@ -215,8 +215,8 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) the emission or source strings. ]] params { - @in emission: const(char)*; [[The signal's name string.]] - @in source: const(char)*; [[The signal's source string.]] + @in emission: string; [[The signal's name string.]] + @in source: string; [[The signal's source string.]] @in func: Edje.Signal_Cb; [[The callback function to be executed when the signal is emitted.]] @in data: void * @optional; [[A pointer to data to pass in to the @@ -228,15 +228,15 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: bool; [[$true on success or $false on failure, that may be part not exists or it has "mouse_events: 0".]] params { - @in part_name: const(char)*; [[A part from loaded edje group.]] - @in cursor: const(char)*; [[Cursor name to use, see Elementary_Cursor.h.]] + @in part_name: string; [[A part from loaded edje group.]] + @in cursor: string; [[Cursor name to use, see Elementary_Cursor.h.]] } } part_cursor_get @const { [[Get the cursor to be shown when mouse is over an edje part.]] - return: const(char)*; + return: string; params { - @in part_name: const(char)*; [[A part from loaded edje group.]] + @in part_name: string; [[A part from loaded edje group.]] } } sub_object_add_enable { @@ -265,9 +265,9 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) } @endcode */ - return: const(char)*; [[The edje data string.]] + return: string; [[The edje data string.]] params { - @in key: const(char)*; [[The data key.]] + @in key: string; [[The data key.]] } } signal_callback_del { @@ -282,8 +282,8 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) return: void *; [[The data pointer of the signal callback (passed on @.signal_callback_add) or $null on errors.]] params { - @in emission: const(char)*; [[The signal's name string.]] - @in source: const(char)*; [[The signal's source string.]] + @in emission: string; [[The signal's name string.]] + @in source: string; [[The signal's source string.]] @in func: Edje.Signal_Cb; [[The callback function being executed when the signal was emitted.]] } @@ -311,15 +311,15 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) 'source' fields. ]] params { - @in emission: const(char)*; [[The signal's name string.]] - @in source: const(char)*; [[The signal's source string.]] + @in emission: string; [[The signal's name string.]] + @in source: string; [[The signal's source string.]] } } part_cursor_unset { [[Unsets a cursor previously set with @.part_cursor_set.]] return: bool; params { - @in part_name: const(char)*; [[A part from loaded edje group, + @in part_name: string; [[A part from loaded edje group, that had a cursor set wit @.part_cursor_set.]] } diff --git a/src/lib/elementary/elm_list.eo b/src/lib/elementary/elm_list.eo index 4489aa243b..6a8a11c297 100644 --- a/src/lib/elementary/elm_list.eo +++ b/src/lib/elementary/elm_list.eo @@ -227,7 +227,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in before: Elm.Widget.Item; [[The list item to insert before.]] - @in label: const(char)*; [[The label of the list item.]] + @in label: string; [[The label of the list item.]] @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] @in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @@ -274,7 +274,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in after: Elm.Widget.Item; [[The list item to insert after.]] - @in label: const(char)*; [[The label of the list item.]] + @in label: string; [[The label of the list item.]] @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] @in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @@ -344,7 +344,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in label: const(char)*; [[The label of the list item.]] + @in label: string; [[The label of the list item.]] @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] @in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @@ -375,7 +375,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in label: const(char)*; [[The label of the list item.]] + @in label: string; [[The label of the list item.]] @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] @in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @@ -413,7 +413,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in label: const(char)*; [[The label of the list item.]] + @in label: string; [[The label of the list item.]] @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] @in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] diff --git a/src/lib/elementary/elm_map.eo b/src/lib/elementary/elm_map.eo index 5011079e08..ead23a0205 100644 --- a/src/lib/elementary/elm_map.eo +++ b/src/lib/elementary/elm_map.eo @@ -194,7 +194,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, [[Get the user agent used by the map object.]] } values { - user_agent: const(char)*; [[The user agent to be used by the map.]] + user_agent: string; [[The user agent to be used by the map.]] } } @property zoom_max { @@ -303,12 +303,12 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, ]] params { @in type: Elm.Map.Source_Type; [[Source type.]] - @in source_name: const(char)*; [[The source to be used.]] + @in source_name: string; [[The source to be used.]] } } source_get @const { [[Get the name of currently used source for a specific type.]] - return: const(char)*; [[The name of the source in use.]] + return: string; [[The name of the source in use.]] params { @in type: Elm.Map.Source_Type; [[Source type.]] } @@ -430,7 +430,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, At least available sources of name type are "Nominatim". ]] - return: const(char)**; [[The char pointer array of source names.]] + return: string*; [[The char pointer array of source names.]] params { @in type: Elm.Map.Source_Type; [[Source type.]] } @@ -491,7 +491,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, ]] return: Elm_Map_Name *; [[A #Elm_Map_Name handle for this coordinate.]] params { - @in address: const(char)* @optional; [[The address.]] + @in address: string @optional; [[The address.]] @in lon: double; [[The longitude.]] @in lat: double; [[The latitude.]] @in name_cb: Elm_Map_Name_Cb @optional; [[The callback function.]] @@ -506,7 +506,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable, @since 1.8 ]] params { - @in address: const(char)*; [[The address.]] + @in address: string; [[The address.]] @in name_cb: Elm_Map_Name_List_Cb @optional; [[The callback function.]] @in data: void * @optional; [[The user callback data.]] } diff --git a/src/lib/elementary/elm_menu.eo b/src/lib/elementary/elm_menu.eo index 34c77afd88..89bc4833ec 100644 --- a/src/lib/elementary/elm_menu.eo +++ b/src/lib/elementary/elm_menu.eo @@ -48,8 +48,8 @@ class Elm.Menu (Elm.Widget, Evas.Clickable_Interface, Elm.Interface.Atspi.Select return: Elm.Widget.Item; [[The new menu item.]] params { @in parent: Elm.Widget.Item @optional; [[The parent menu item (optional).]] - @in icon: const(char)* @optional; [[An icon display on the item. The icon will be destroyed by the menu.]] - @in label: const(char)*; [[The label of the item.]] + @in icon: string @optional; [[An icon display on the item. The icon will be destroyed by the menu.]] + @in label: string; [[The label of the item.]] @in func: Evas_Smart_Cb @optional; [[Function called when the user select the item.]] @in data: const(void)* @optional; [[Data sent by the callback.]] } diff --git a/src/lib/elementary/elm_menu_item.eo b/src/lib/elementary/elm_menu_item.eo index 30c8c147c1..d187779392 100644 --- a/src/lib/elementary/elm_menu_item.eo +++ b/src/lib/elementary/elm_menu_item.eo @@ -20,7 +20,7 @@ class Elm.Menu.Item(Elm.Widget.Item, Elm.Interface.Atspi.Selection) ]] } values { - icon: const (char)*; [[The name of icon object.]] + icon: string; [[The name of icon object.]] } } @property selected { diff --git a/src/lib/elementary/elm_multibuttonentry.eo b/src/lib/elementary/elm_multibuttonentry.eo index 76656bf1ad..12560f6c1d 100644 --- a/src/lib/elementary/elm_multibuttonentry.eo +++ b/src/lib/elementary/elm_multibuttonentry.eo @@ -88,7 +88,7 @@ class Elm.Multibuttonentry (Elm.Layout) return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]] params { - @in label: const(char)*; [[The label of new item]] + @in label: string; [[The label of new item]] @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]] @in data: void * @optional; [[The pointer to the data to be attached]] } @@ -116,7 +116,7 @@ class Elm.Multibuttonentry (Elm.Layout) return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]] params { @in before: Elm.Widget.Item; [[The item before which to add it]] - @in label: const(char)*; [[The label of new item]] + @in label: string; [[The label of new item]] @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]] @in data: void * @optional; [[The pointer to the data to be attached]] } @@ -128,7 +128,7 @@ class Elm.Multibuttonentry (Elm.Layout) return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]] params { - @in label: const(char)*; [[The label of new item]] + @in label: string; [[The label of new item]] @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]] @in data: void * @optional; [[The pointer to the data to be attached]] } @@ -167,7 +167,7 @@ class Elm.Multibuttonentry (Elm.Layout) return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]] params { @in after: Elm.Widget.Item; [[The item after which to add it]] - @in label: const(char)*; [[The label of new item]] + @in label: string; [[The label of new item]] @in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]] @in data: void * @optional; [[The pointer to the data to be attached]] } diff --git a/src/lib/elementary/elm_naviframe.eo b/src/lib/elementary/elm_naviframe.eo index fc6f9cd46f..ea8d5a7621 100644 --- a/src/lib/elementary/elm_naviframe.eo +++ b/src/lib/elementary/elm_naviframe.eo @@ -84,11 +84,11 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action) return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in before: Elm.Widget.Item; [[The naviframe item to insert before.]] - @in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] + @in title_label: string @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] @in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]] @in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]] @in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]] - @in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]] + @in item_style: string @nullable; [[The current item style name. $NULL would be default.]] } } item_push { @@ -105,11 +105,11 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action) return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] + @in title_label: string @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] @in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]] @in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]] @in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]] - @in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]] + @in item_style: string @nullable; [[The current item style name. $NULL would be default.]] } } item_simple_promote { @@ -131,11 +131,11 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action) return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in after: Elm.Widget.Item; [[The naviframe item to insert after.]] - @in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] + @in title_label: string @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]] @in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]] @in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]] @in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]] - @in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]] + @in item_style: string @nullable; [[The current item style name. $NULL would be default.]] } } } diff --git a/src/lib/elementary/elm_naviframe_item.eo b/src/lib/elementary/elm_naviframe_item.eo index bae5406a79..c110710009 100644 --- a/src/lib/elementary/elm_naviframe_item.eo +++ b/src/lib/elementary/elm_naviframe_item.eo @@ -13,7 +13,7 @@ class Elm.Naviframe.Item(Elm.Widget.Item) [[Set an item style.]] } values { - style: const (char) * @nullable; [[The current item style name. $null would be default]] + style: string @nullable; [[The current item style name. $null would be default]] } } pop_to { diff --git a/src/lib/elementary/elm_plug.eo b/src/lib/elementary/elm_plug.eo index 56c7afbcfa..2fa1b78de1 100644 --- a/src/lib/elementary/elm_plug.eo +++ b/src/lib/elementary/elm_plug.eo @@ -23,7 +23,7 @@ class Elm.Plug (Elm.Widget, Evas.Clickable_Interface) [[Connect a plug widget to service provided by socket image.]] return: bool; [[$true on success, $false on error.]] params { - @in svcname: const(char)*; [[The service name to connect to set up by the socket.]] + @in svcname: string; [[The service name to connect to set up by the socket.]] @in svcnum: int; [[The service number to connect to (set up by socket).]] @in svcsys: bool; [[Boolean to set if the service is a system one or not (set up by socket).]] } diff --git a/src/lib/elementary/elm_popup.eo b/src/lib/elementary/elm_popup.eo index 535724853a..dfc72fda91 100644 --- a/src/lib/elementary/elm_popup.eo +++ b/src/lib/elementary/elm_popup.eo @@ -152,7 +152,7 @@ class Elm.Popup (Elm.Layout, Elm.Interface.Atspi_Widget_Action) ]] return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]] params { - @in label: const(char)*; [[The Label of the new item.]] + @in label: string; [[The Label of the new item.]] @in icon: Evas.Object @optional; [[Icon to be set on new item.]] @in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected.]] @in data: const(void)* @optional; [[Data passed to $func above.]] diff --git a/src/lib/elementary/elm_prefs.eo b/src/lib/elementary/elm_prefs.eo index 0cdae81c91..b2cc065dac 100644 --- a/src/lib/elementary/elm_prefs.eo +++ b/src/lib/elementary/elm_prefs.eo @@ -91,7 +91,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) return: bool; [[$true, on success, $false otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection)]] + @in name: string; [[The name of the item (as declared in the prefs collection)]] @in value: const(generic_value)*; [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]] } } @@ -104,7 +104,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) return: bool; [[$true, on success, $false otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get value from]] + @in name: string; [[The name of the item (as declared in the prefs collection) to get value from]] @out value: generic_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]] } } @@ -121,7 +121,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) return: const(Evas.Object); [[A valid widget handle, on success, or $NULL, otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get object from]] + @in name: string; [[The name of the item (as declared in the prefs collection) to get object from]] } } item_disabled_set { @@ -130,7 +130,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to act on]] + @in name: string; [[The name of the item (as declared in the prefs collection) to act on]] @in disabled: bool; [[$true, to make it disabled, $false otherwise]] } } @@ -140,7 +140,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] return: bool; [[$true, if it is disabled, $false otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get disabled state from]] + @in name: string; [[The name of the item (as declared in the prefs collection) to get disabled state from]] } } item_swallow { @@ -150,7 +150,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) return: bool; [[$true, on success, $false otherwise]] params { - @in name: const(char)*; [[the name of the SWALLOW item (as declared in the prefs collection)]] + @in name: string; [[the name of the SWALLOW item (as declared in the prefs collection)]] @in child: Evas.Object; [[The object to occupy the item]] } } @@ -164,7 +164,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to act on]] + @in name: string; [[The name of the item (as declared in the prefs collection) to act on]] @in editable: bool; [[$true, to make it editable, $false otherwise]] } } @@ -174,7 +174,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] return: bool; [[$true, if it is editable, $false otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get editable state from]] + @in name: string; [[The name of the item (as declared in the prefs collection) to get editable state from]] } } item_unswallow { @@ -184,7 +184,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) return: Evas.Object; [[The unswallowed object, or NULL on errors]] params { - @in name: const(char)*; [[the name of the SWALLOW item (as declared in the prefs collection)]] + @in name: string; [[the name of the SWALLOW item (as declared in the prefs collection)]] } } item_visible_set { @@ -197,7 +197,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to change visibility of]] + @in name: string; [[The name of the item (as declared in the prefs collection) to change visibility of]] @in visible: bool; [[$true, to make it visible, $false otherwise]] } } @@ -207,7 +207,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) @since 1.8]] return: bool; [[$true, if it is visible, $false otherwise]] params { - @in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get visibility state from]] + @in name: string; [[The name of the item (as declared in the prefs collection) to get visibility state from]] } } } diff --git a/src/lib/elementary/elm_progressbar.eo b/src/lib/elementary/elm_progressbar.eo index 13cc072e79..6f4424006b 100644 --- a/src/lib/elementary/elm_progressbar.eo +++ b/src/lib/elementary/elm_progressbar.eo @@ -32,7 +32,7 @@ class Elm.Progressbar (Elm.Layout, Efl.Ui.Progress, @since 1.8]] params { - @in part: const(char)*; [[The partname to which val have to set]] + @in part: string; [[The partname to which val have to set]] @in val: double; [[The progress value (must be between $0.0 and 1.0)]] } } @@ -42,7 +42,7 @@ class Elm.Progressbar (Elm.Layout, Efl.Ui.Progress, @since 1.8]] return: double; [[The value of the progressbar]] params { - @in part: const(char)*; [[The part name of the progress bar]] + @in part: string; [[The part name of the progress bar]] } } pulse { diff --git a/src/lib/elementary/elm_scroller.eo b/src/lib/elementary/elm_scroller.eo index 2a93d6ca75..5c7149dd99 100644 --- a/src/lib/elementary/elm_scroller.eo +++ b/src/lib/elementary/elm_scroller.eo @@ -30,8 +30,8 @@ class Elm.Scroller (Elm.Layout, Elm.Interface_Scrollable, [[Set custom theme elements for the scroller]] } values { - klass: const(char)*; - group: const(char)*; + klass: string; + group: string; } } page_scroll_limit_set @const { diff --git a/src/lib/elementary/elm_segment_control.eo b/src/lib/elementary/elm_segment_control.eo index 13b3da804d..d699f6847b 100644 --- a/src/lib/elementary/elm_segment_control.eo +++ b/src/lib/elementary/elm_segment_control.eo @@ -33,7 +33,7 @@ class Elm.Segment_Control (Elm.Layout) with function elm_object_item_text_set. If no label was passed as argument, it will return $NULL.]] - return: const(char)*; [[The label of the item at $index.]] + return: string; [[The label of the item at $index.]] params { @in idx: int; [[The index of the segment item.]] } @@ -58,7 +58,7 @@ class Elm.Segment_Control (Elm.Layout) return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] - @in label: const(char)* @optional; [[The label of the item.]] + @in label: string @optional; [[The label of the item.]] @in idx: int; [[Item position. Value should be between 0 and items count.]] } } @@ -116,7 +116,7 @@ class Elm.Segment_Control (Elm.Layout) return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]] - @in label: const(char)* @optional; [[The label of the item. Note that, NULL is different from empty string "".]] + @in label: string @optional; [[The label of the item. Note that, NULL is different from empty string "".]] } } item_icon_get @const { diff --git a/src/lib/elementary/elm_slider.eo b/src/lib/elementary/elm_slider.eo index a933d6770a..61dd1cb6d9 100644 --- a/src/lib/elementary/elm_slider.eo +++ b/src/lib/elementary/elm_slider.eo @@ -39,7 +39,7 @@ class Elm.Slider (Elm.Layout, Efl.Ui.Progress, ]] } values { - indicator: const(char)* @nullable; [[The format string for the indicator display.]] + indicator: string @nullable; [[The format string for the indicator display.]] } } @property indicator_show { diff --git a/src/lib/elementary/elm_slideshow.eo b/src/lib/elementary/elm_slideshow.eo index 84fbbf50e5..d0eb6a9817 100644 --- a/src/lib/elementary/elm_slideshow.eo +++ b/src/lib/elementary/elm_slideshow.eo @@ -57,7 +57,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action) [[Get the current slide layout in use for a given slideshow widget.]] } values { - layout: const(char)*; [[The new layout's name string.]] + layout: string; [[The new layout's name string.]] } } @property transition { @@ -76,7 +76,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action) ]] } values { - transition: const(char)* @nullable; [[The new transition's name string.]] + transition: string @nullable; [[The new transition's name string.]] } } @property loop { @@ -173,7 +173,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action) is valid and has not internally changed its list for some reason, so make a copy if you need it around. ]] - return: const(list); [[ + return: const(list); [[ The list of transitions (list of stringshared strings as data). ]] @@ -220,7 +220,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action) like to use them out of this call's context, you'd better \@ref eina_stringshare_ref them. ]] - return: const(list); [[ + return: const(list); [[ The list of layouts (list of stringshared strings as data) ]] } diff --git a/src/lib/elementary/elm_spinner.eo b/src/lib/elementary/elm_spinner.eo index 5ff0cec236..eb1fe42936 100644 --- a/src/lib/elementary/elm_spinner.eo +++ b/src/lib/elementary/elm_spinner.eo @@ -112,7 +112,7 @@ class Elm.Spinner (Elm.Layout, Efl.Ui.Spin, get { } values { - fmt: const(char)* @nullable; [[The format string for the label display.]] + fmt: string @nullable; [[The format string for the label display.]] } } special_value_add { @@ -137,7 +137,7 @@ class Elm.Spinner (Elm.Layout, Efl.Ui.Spin, */ params { @in value: double; [[The value to be replaced.]] - @in label: const(char)*; [[The label to be used.]] + @in label: string; [[The label to be used.]] } } diff --git a/src/lib/elementary/elm_sys_notify_interface.eo b/src/lib/elementary/elm_sys_notify_interface.eo index cf7bd639d3..54d477563e 100644 --- a/src/lib/elementary/elm_sys_notify_interface.eo +++ b/src/lib/elementary/elm_sys_notify_interface.eo @@ -28,9 +28,9 @@ interface Elm.Sys_Notify_Interface params { @in replaces_id: uint; [[Notification ID that this notification replaces. The value 0 means a new notification.]] - @in icon: const(char) *; [[The optional program icon of the calling application]] - @in summary: const(char) *; [[The summary text briefly describing the notification]] - @in body: const(char) * @optional; [[The optional detailed body text. Can be empty]] + @in icon: string; [[The optional program icon of the calling application]] + @in summary: string; [[The summary text briefly describing the notification]] + @in body: string @optional; [[The optional detailed body text. Can be empty]] @in urgency: Elm.Sys_Notify.Urgency; [[The urgency level]] @in timeout: int; [[Timeout display in milliseconds]] @in cb: Elm_Sys_Notify_Send_Cb; [[Callback used to retrieve the notification id @@ -46,9 +46,9 @@ interface Elm.Sys_Notify_Interface ]] params { - @in icon: const(char) *; [[The optional program icon of the calling application]] - @in summary: const(char) *; [[The summary text briefly describing the notification]] - @in body: const(char) *; [[The optional detailed body text. Can be empty]] + @in icon: string; [[The optional program icon of the calling application]] + @in summary: string; [[The summary text briefly describing the notification]] + @in body: string; [[The optional detailed body text. Can be empty]] } } close @const { diff --git a/src/lib/elementary/elm_systray.eo b/src/lib/elementary/elm_systray.eo index 8b4ff9f345..6bcefc0b2b 100644 --- a/src/lib/elementary/elm_systray.eo +++ b/src/lib/elementary/elm_systray.eo @@ -36,7 +36,7 @@ class Elm.Systray (Eo.Base) [[Get the id of the Status Notifier Item.]] } values { - id: const(char)* @nullable; + id: string @nullable; } } @property category { @@ -58,7 +58,7 @@ class Elm.Systray (Eo.Base) [[Get the path to the icon's theme currently in use.]] } values { - icon_theme_path: const(char)* @nullable; + icon_theme_path: string @nullable; } } @property menu { @@ -80,7 +80,7 @@ class Elm.Systray (Eo.Base) [[Get the name of the attention icon used by the Status Notifier Item.]] } values { - att_icon_name: const(char)* @nullable; + att_icon_name: string @nullable; } } @property status { @@ -102,7 +102,7 @@ class Elm.Systray (Eo.Base) [[Get the name of the icon used by the Status Notifier Item.]] } values { - icon_name: const(char)* @nullable; + icon_name: string @nullable; } } @property title { @@ -113,7 +113,7 @@ class Elm.Systray (Eo.Base) [[Get the title of the Status Notifier Item.]] } values { - title: const(char)* @nullable; + title: string @nullable; } } register { diff --git a/src/lib/elementary/elm_toolbar.eo b/src/lib/elementary/elm_toolbar.eo index f61c3714b6..4691bca3d5 100644 --- a/src/lib/elementary/elm_toolbar.eo +++ b/src/lib/elementary/elm_toolbar.eo @@ -223,8 +223,8 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in before: Elm.Widget.Item; [[The toolbar item to insert before.]] - @in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]] - @in label: const(char)*; [[The label of the item.]] + @in icon: string @optional; [[A string with icon name or the absolute path of an image file.]] + @in label: string; [[The label of the item.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]] } @@ -257,8 +257,8 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { @in after: Elm.Widget.Item; [[The toolbar item to insert after.]] - @in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]] - @in label: const(char)*; [[The label of the item.]] + @in icon: string @optional; [[A string with icon name or the absolute path of an image file.]] + @in label: string; [[The label of the item.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]] } @@ -290,8 +290,8 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]] - @in label: const(char)*; [[The label of the item.]] + @in icon: string @optional; [[A string with icon name or the absolute path of an image file.]] + @in label: string; [[The label of the item.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]] } @@ -327,8 +327,8 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, return: Elm.Widget.Item; [[The created item or $NULL upon failure.]] params { - @in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]] - @in label: const(char)*; [[The label of the item.]] + @in icon: string @optional; [[A string with icon name or the absolute path of an image file.]] + @in label: string; [[The label of the item.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]] @in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]] } @@ -338,7 +338,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation, return: Elm.Widget.Item; [[The pointer to the toolbar item matching $label or $NULL on failure.]] params { - @in label: const(char)*; [[The label of the item to find.]] + @in label: string; [[The label of the item to find.]] } } } diff --git a/src/lib/elementary/elm_toolbar_item.eo b/src/lib/elementary/elm_toolbar_item.eo index 0a9bad5ce9..b0bc55555d 100644 --- a/src/lib/elementary/elm_toolbar_item.eo +++ b/src/lib/elementary/elm_toolbar_item.eo @@ -16,8 +16,8 @@ struct Elm.Toolbar.Item.State State of a Elm_Toolbar_Item. Can be created with elm_toolbar_item_state_add() and removed with elm_toolbar_item_state_del(). ]] - label: const(char)*; - icon_str: const(char)*; + label: string; + icon_str: string; icon: Evas.Object; func: Evas_Smart_Cb ; data: const(void)*; @@ -111,7 +111,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item) ]] } values { - icon: const(char)*; [[A string with icon name or the + icon: string; [[A string with icon name or the absolute path of an image file.]] } } @@ -197,8 +197,8 @@ class Elm.Toolbar.Item(Elm.Widget.Item) params { @in img: const (void) *; [[The binary data that will be used as an image.]] @in size: size; [[The size of binary data $img.]] - @in format: const (char) *; [[Optional format of $img to pass to the image loader.]] - @in key: const (char) *; [[Optional key of $img to pass to the image loader (eg. if $img is an edje file).]] + @in format: string; [[Optional format of $img to pass to the image loader.]] + @in key: string; [[Optional key of $img to pass to the image loader (eg. if $img is an edje file).]] } return: bool; } @@ -209,8 +209,8 @@ class Elm.Toolbar.Item(Elm.Widget.Item) elm_toolbar_item_icon_set(). ]] params { - @in file: const (char) *; [[The file that contains the image.]] - @in key: const (char) *; [[Optional key of $img to pass to the image loader (eg. if $img is an edje file).]] + @in file: string; [[The file that contains the image.]] + @in key: string; [[Optional key of $img to pass to the image loader (eg. if $img is an edje file).]] } return: bool; } @@ -226,8 +226,8 @@ class Elm.Toolbar.Item(Elm.Widget.Item) @.state_del. ]] params { - @in icon: const (char) *; [[A string with icon name or the absolute path of an image file.]] - @in label: const (char) *; [[The label of the new state.]] + @in icon: string; [[A string with icon name or the absolute path of an image file.]] + @in label: string; [[The label of the new state.]] @in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked when this state is selected.]] @in data: const (void) * @optional; [[The data to associate with the state.]] } diff --git a/src/lib/elementary/elm_video.eo b/src/lib/elementary/elm_video.eo index 2d517a4f2d..0d689b1d18 100644 --- a/src/lib/elementary/elm_video.eo +++ b/src/lib/elementary/elm_video.eo @@ -94,7 +94,7 @@ class Elm.Video (Elm.Layout, Efl.File, Elm.Interface.Atspi_Widget_Action) Note: Don't change or free the string returned by this function. ]] - return: const(char)*; [[A string containing the title.]] + return: string; [[A string containing the title.]] } } play { diff --git a/src/lib/elementary/elm_view_form.eo b/src/lib/elementary/elm_view_form.eo index 881e97320f..1c2bd19231 100644 --- a/src/lib/elementary/elm_view_form.eo +++ b/src/lib/elementary/elm_view_form.eo @@ -16,7 +16,7 @@ class Elm.View.Form (Eo.Base) @since 1.11 ]] params { - @in propname: const(char)*; [[Property name]] + @in propname: string; [[Property name]] @in evas: Evas.Object; [[Evas widget]] } } diff --git a/src/lib/elementary/elm_view_list.eo b/src/lib/elementary/elm_view_list.eo index 74551c27a0..29329128b6 100644 --- a/src/lib/elementary/elm_view_list.eo +++ b/src/lib/elementary/elm_view_list.eo @@ -11,7 +11,7 @@ class Elm.View.List (Eo.Base) params { @in genlist: Evas.Object; [[Genlist object]] @in item_type: Elm.Genlist.Item.Type; [[Item type]] - @in item_style: const(char)*; [[The current item style name. $null would be default.]] + @in item_style: string; [[The current item style name. $null would be default.]] } } evas_object_get { @@ -29,8 +29,8 @@ class Elm.View.List (Eo.Base) @since 1.11 ]] params { - @in property: const(char)*; [[Property name]] - @in part: const(char)*; [[Edje's theme part]] + @in property: string; [[Property name]] + @in part: string; [[Edje's theme part]] } } model_set { diff --git a/src/lib/elementary/elm_web.eo b/src/lib/elementary/elm_web.eo index 6db959c4e4..fdc710681d 100644 --- a/src/lib/elementary/elm_web.eo +++ b/src/lib/elementary/elm_web.eo @@ -44,7 +44,7 @@ class Elm.Web (Elm.Widget) [[Return current useragent of elm_web object.]] } values { - user_agent: const(char)*; [[String for useragent.]] + user_agent: string; [[String for useragent.]] } } @property url @virtual_pure { @@ -64,7 +64,7 @@ class Elm.Web (Elm.Widget) ]] } values { - url: const(char)*; [[The URL to set.]] + url: string; [[The URL to set.]] } } @property bg_color @virtual_pure { @@ -338,7 +338,7 @@ class Elm.Web (Elm.Widget) The string returned must be freed by the user when it's done with it. ]] - return: own(const(char)*) @warn_unused; [[A newly allocated string, or + return: own(string) @warn_unused; [[A newly allocated string, or $null if nothing is selected or an error occurred.]] } @@ -350,7 +350,7 @@ class Elm.Web (Elm.Widget) The returned string must not be freed and is guaranteed to be stringshared. ]] - return: free(own(const(char)*), eina_stringshare_del) @warn_unused; [[ + return: free(own(string), eina_stringshare_del) @warn_unused; [[ A stringshared internal string with the current title, or $null on failure. ]] @@ -390,9 +390,9 @@ class Elm.Web (Elm.Widget) ]] return: bool; params { - @in html: const(char)*; [[HTML data to load.]] - @in base_url: const(char)* @optional; [[Base URL used for relative paths to external objects (optional).]] - @in unreachable_url: const(char)* @optional; [[URL that could not be reached (optional).]] + @in html: string; [[HTML data to load.]] + @in base_url: string @optional; [[Base URL used for relative paths to external objects (optional).]] + @in unreachable_url: string @optional; [[URL that could not be reached (optional).]] } } text_search @const @virtual_pure { @@ -400,7 +400,7 @@ class Elm.Web (Elm.Widget) return: bool; [[$true if the given string was found, $false if not or failure.]] params { - @in string: const(char)*; [[String to search.]] + @in string: string; [[String to search.]] @in case_sensitive: bool; [[If search should be case sensitive or not.]] @in forward: bool; [[If search is from cursor and on or backwards.]] @in wrap: bool; [[If search should wrap at the end.]] @@ -441,7 +441,7 @@ class Elm.Web (Elm.Widget) [[Marks matches of the given string in a document.]] return: uint; [[Number of matched $string.]] params { - @in string: const(char)*; [[String to match.]] + @in string: string; [[String to match.]] @in case_sensitive: bool; [[If match should be case sensitive or not.]] @in highlight: bool; [[If matches should be highlighted.]] @in limit: uint; [[Maximum amount of matches, or zero to unlimited.]] diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo index 9e207b6b76..ad8402cb23 100644 --- a/src/lib/elementary/elm_widget.eo +++ b/src/lib/elementary/elm_widget.eo @@ -68,7 +68,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte get { } values { - style: const(char)*; [[The name of the focus highlight style.]] + style: string; [[The name of the focus highlight style.]] } } @property tree_unfocusable { @@ -152,7 +152,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte get { } values { - style: const(char)*; + style: string; } } @property scale { @@ -232,7 +232,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte get { } values { - txt: const(char)* @nullable; + txt: string @nullable; } } @property drag_lock_x { @@ -276,9 +276,9 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte } values { edj: Evas.Object; - wname: const(char)*; - welement: const(char)*; - wstyle: const(char)*; + wname: string; + welement: string; + wstyle: string; } } @property hover_object { @@ -307,8 +307,8 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte set { } values { - part: const(char)*; - domain: const(char)*; + part: string; + domain: string; translatable: bool; } } @@ -331,9 +331,9 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte set { } values { - part: const(char)*; - domain: const(char)*; - label: const(char)*; + part: string; + domain: string; + label: string; } } @property scrollable_children { @@ -451,10 +451,10 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte get { } keys { - part: const(char)*; + part: string; } values { - label: const(char)*; + label: string; } } newest_focus_order_get @const { @@ -522,10 +522,10 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte } } part_text_translate { - return: const(char)*; + return: string; params { - @in part: const(char)*; - @in text: const(char)*; + @in part: string; + @in text: string; } } focus_highlight_geometry_get @const { @@ -636,8 +636,8 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte } signal_callback_add { params { - @in emission: const(char)*; - @in source: const(char)*; + @in emission: string; + @in source: string; @in func: Edje.Signal_Cb; @in data: void *; } @@ -649,7 +649,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte name_find @const { return: Evas.Object; params { - @in name: const(char)*; + @in name: string; @in recurse: int; } } @@ -706,9 +706,9 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte } } translatable_part_text_get @const { - return: const(char)*; + return: string; params { - @in part: const(char)*; + @in part: string; } } focus_restore { @@ -778,15 +778,15 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte signal_callback_del { return: void *; params { - @in emission: const(char)*; - @in source: const(char)*; + @in emission: string; + @in source: string; @in func: Edje.Signal_Cb; } } signal_emit { params { - @in emission: const(char)*; - @in source: const(char)*; + @in emission: string; + @in source: string; } } disable { diff --git a/src/lib/elementary/elm_widget_item.eo b/src/lib/elementary/elm_widget_item.eo index 533a4af0ef..f7e6e095a5 100644 --- a/src/lib/elementary/elm_widget_item.eo +++ b/src/lib/elementary/elm_widget_item.eo @@ -34,7 +34,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } values { - style: const (char)*; [[the theme style used/to use (default, transparent, ...)]] + style: string; [[the theme style used/to use (default, transparent, ...)]] } } @property cursor { @@ -54,7 +54,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } values { - cursor: const (char) *; [[the cursor type's name]] + cursor: string; [[the cursor type's name]] } } @property cursor_style { @@ -73,7 +73,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } values { - style: const (char) *; [[the theme style to use/in use (e.g. $"default", $"transparent", etc)]] + style: string; [[the theme style to use/in use (e.g. $"default", $"transparent", etc)]] } } @property cursor_engine_only { @@ -105,7 +105,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } keys { - part: const (char) * @nullable; [[The content part name (NULL for the default content)]] + part: string @nullable; [[The content part name (NULL for the default content)]] } values { content: Evas.Object; [[The content of the object item]] @@ -120,10 +120,10 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } keys { - part: const (char) * @nullable; [[The text part name (NULL for the default label)]] + part: string @nullable; [[The text part name (NULL for the default label)]] } values { - label: const (char) *; [[Text of the label]] + label: string; [[Text of the label]] } } @property part_text_custom @protected { @@ -136,10 +136,10 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, legacy: null; } keys { - part: const (char) *; + part: string; } values { - label: const (char) *; + label: string; } } @property focus { @@ -163,7 +163,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, set { } values { - style: const (char) *; [[The style of object item]] + style: string; [[The style of object item]] } } @property disabled { @@ -222,14 +222,14 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, See: elm_object_tooltip_text_set() for more details.]] params { - text: const (char) *; [[The text to set in the content.]] + text: string; [[The text to set in the content.]] } } tooltip_translatable_text_set @protected { [[Set widget item tooltip as a text string]] legacy: null; params { - text: const (char) *; + text: string; } } tooltip_unset { @@ -258,7 +258,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, Note: Elementary object items may have many contents]] params { - part: const (char) *; [[The content part name to unset (NULL for the default content)]] + part: string; [[The content part name to unset (NULL for the default content)]] } return: Evas.Object; } @@ -275,8 +275,8 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, @since 1.8]] params { - emission: const (char) *; [[The signal's name.]] - source: const (char) *; [[The signal's source.]] + emission: string; [[The signal's name.]] + source: string; [[The signal's source.]] func: Elm_Object_Item_Signal_Cb; [[The callback function to be executed when the signal is emitted.]] data: void *; [[A pointer to data to pass to the callback function.]] } @@ -295,8 +295,8 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, @since 1.8]] params { - emission: const (char) *; [[The signal's name.]] - source: const (char) *; [[The signal's source.]] + emission: string; [[The signal's name.]] + source: string; [[The signal's source.]] func: Elm_Object_Item_Signal_Cb; [[The callback function to be executed when the signal is emitted.]] } return: void*; [[The data pointer of the signal callback or $NULL, on errors.]] @@ -308,14 +308,14 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, edje program can respond to a signal by specifying matching 'signal' and 'source' fields.]] params { - emission: const (char) *; [[The signal's name.]] - source: const (char) *; [[The signal's source.]] + emission: string; [[The signal's name.]] + source: string; [[The signal's source.]] } } access_info_set { [[Set the text to read out when in accessibility mode]] params { - txt: const (char) *; [[The text that describes the widget to people with poor or no vision]] + txt: string; [[The text that describes the widget to people with poor or no vision]] } } access_object_get @const { @@ -341,9 +341,9 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, @since 1.8]] params { - part: const (char) *; [[The name of the part to set]] - domain: const (char) *; [[The translation domain to use]] - label: const (char) *; [[The original, non-translated text to set]] + part: string; [[The name of the part to set]] + domain: string; [[The translation domain to use]] + label: string; [[The original, non-translated text to set]] } } translatable_part_text_get @const { @@ -355,9 +355,9 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, @since 1.8]] params { - part: const (char) *; [[The name of the part that was set]] + part: string; [[The name of the part that was set]] } - return: const (char)*; [[The original, untranslated string]] + return: string; [[The original, untranslated string]] } translate @protected { [[Query translate]] @@ -378,8 +378,8 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible, @since 1.8]] params { - part: const (char) *; [[The part name of the translatable text]] - domain: const (char) *; [[The translation domain to use]] + part: string; [[The part name of the translatable text]] + domain: string; [[The translation domain to use]] translatable: bool; [[$true, the part text will be translated internally. $false, otherwise.]] } } diff --git a/src/lib/elementary/elm_win.eo b/src/lib/elementary/elm_win.eo index 1a468260aa..7a8f1eb3b7 100644 --- a/src/lib/elementary/elm_win.eo +++ b/src/lib/elementary/elm_win.eo @@ -336,7 +336,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, ]] } values { - icon_name: const(char)*; [[The icon name to set.]] + icon_name: string; [[The icon name to set.]] } } @property withdrawn { @@ -363,7 +363,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, ]] } values { - role: const(char)*; [[The role to set.]] + role: string; [[The role to set.]] } } @property size_step { @@ -400,7 +400,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, [[Get the style set for the focus highlight object.]] } values { - style: const(char)* @nullable; [[The style or $null if none.]] + style: string @nullable; [[The style or $null if none.]] } } @property borderless { @@ -446,7 +446,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, @since 1.8 ]] values { - profiles: const(char)**; [[The string array of available profiles.]] + profiles: string*; [[The string array of available profiles.]] count: uint; [[The number of members in profiles.]] } } @@ -490,7 +490,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, ]] } values { - title: const(char)*; [[The title.]] + title: string; [[The title.]] } } @property alpha { @@ -658,7 +658,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, ]] } values { - profile: const(char)*; [[The string value of a window profile.]] + profile: string; [[The string value of a window profile.]] } } @property shaped { @@ -828,7 +828,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, [[Can only be used at creation time, within \@ref eo_add.]] } values { - name: const(char)* @nullable; + name: string @nullable; } } @property type { /* FIXME: before finalize */ @@ -894,7 +894,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, [[Create a socket to provide the service for Plug widget.]] return: bool; params { - @in svcname: const(char)*; [[The name of the service to be advertised. + @in svcname: string; [[The name of the service to be advertised. Eensure that it is unique (when combined with $svcnum) otherwise creation may fail.]] @in svcnum: int; [[A number (any value, 0 being the common default) to @@ -960,7 +960,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, return: bool; params { - @in key: const(char)*; [[This string is the keyname to grab.]] + @in key: string; [[This string is the keyname to grab.]] @in modifiers: Evas.Modifier_Mask; [[This is for the keymask feature. Currently this feature is not supported.]] @in not_modifiers: Evas.Modifier_Mask; [[This is for the keymask feature. Currently this feature is not supported.]] @in proirity: int; [[This is for the priority of keygrab. Currently this feature is not supported.]] @@ -974,7 +974,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, ]] return: bool; params { - @in key: const(char)*; [[This string is the keyname to grab.]] + @in key: string; [[This string is the keyname to grab.]] @in modifiers: Evas.Modifier_Mask; [[This is for the keymask feature. Currently this feature is not supported.]] @in not_modifiers: Evas.Modifier_Mask; [[This is for the keymask feature. Currently this feature is not supported.]] } @@ -984,7 +984,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, @since 1.18 ]] params { - @in uri: const(char)*; [[This is the uri to notify with]] + @in uri: string; [[This is the uri to notify with]] } } teamwork_uri_show { @@ -995,7 +995,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, @since 1.18 ]] params { - @in uri: const(char)*; [[This is the uri to notify with]] + @in uri: string; [[This is the uri to notify with]] } } teamwork_uri_hide { @@ -1013,7 +1013,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window, @since 1.18 ]] params { - @in uri: const(char)*; [[This is the uri to open]] + @in uri: string; [[This is the uri to open]] } } } diff --git a/src/lib/emotion/emotion_object.eo b/src/lib/emotion/emotion_object.eo index b449492754..5194cd7439 100644 --- a/src/lib/emotion/emotion_object.eo +++ b/src/lib/emotion/emotion_object.eo @@ -17,9 +17,9 @@ class Emotion.Object (Evas.Object.Smart, Efl.File, Efl.Player, Efl.Image, Efl.Im legacy: emotion_object_module_option_set; } values { - opt: const(char) *; [[The option that is being set. Currently + opt: string; [[The option that is being set. Currently supported options: "video" and "audio".]] - val: const(char) *; [[The value of the option. Currently only + val: string; [[The value of the option. Currently only supports "off" (?!?!?!)]] } } @@ -47,7 +47,7 @@ class Emotion.Object (Evas.Object.Smart, Efl.File, Efl.Player, Efl.Image, Efl.Im initialized for this object, false otherwise.]] } values { - module_filename: const(char) *; [[The name of the module to be + module_filename: string; [[The name of the module to be used (gstreamer or xine).]] } } diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 30904c3107..8d0de471c6 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -2,7 +2,7 @@ import eina_types; struct Eo.Event.Description { [[This struct holds the description of a specific event.]] - name: const(char) *; [[name of the event.]] + name: string; [[name of the event.]] unfreezable: bool; [[Eina_True if the event cannot be frozen.]] legacy_is: bool; [[Internal use: if is a legacy event.]] restart: bool; [[Eina_True if when the event is triggered again from a callback, it should start from where it was]] @@ -88,7 +88,7 @@ abstract Eo.Base () get { } values { - name: const(char)* @nullable; [[the name]] + name: string @nullable; [[the name]] } } @property comment { @@ -103,7 +103,7 @@ abstract Eo.Base () get { } values { - comment: const(char)* @nullable; [[the comment]] + comment: string @nullable; [[the comment]] } } @property event_global_freeze_count @class { @@ -177,7 +177,7 @@ abstract Eo.Base () the search will match any object of that class. ]] params { - @in search: const(char)*; [[the name search string]] + @in search: string; [[the name search string]] } return: Eo.Base; [[the first object found]] } @@ -207,7 +207,7 @@ abstract Eo.Base () The user is in charge of freeing the data. ]] keys { - key: const(char) *; [[the key associated with the data]] + key: string; [[the key associated with the data]] } set { values { @@ -232,7 +232,7 @@ abstract Eo.Base () are shared and can store only one thing ]] keys { - key: const(char) *; [[the key associated with the object ref]] + key: string; [[the key associated with the object ref]] } set { values { @@ -256,7 +256,7 @@ abstract Eo.Base () are shared and can store only one thing ]] keys { - key: const(char)*; [[the key associated with the value]] + key: string; [[the key associated with the value]] } values { value: generic_value *; [[the value to set]] diff --git a/src/lib/evas/canvas/efl_vg.eo b/src/lib/evas/canvas/efl_vg.eo index 01f249ed4a..122c0a7f1e 100644 --- a/src/lib/evas/canvas/efl_vg.eo +++ b/src/lib/evas/canvas/efl_vg.eo @@ -24,7 +24,7 @@ abstract Efl.VG (Eo.Base, Efl.Gfx, Efl.Gfx.Stack) ]] } values { - name: const(char) *; + name: string; } } @property transformation { diff --git a/src/lib/evas/canvas/efl_vg_container.eo b/src/lib/evas/canvas/efl_vg_container.eo index 2497e79055..0b0541e6a0 100644 --- a/src/lib/evas/canvas/efl_vg_container.eo +++ b/src/lib/evas/canvas/efl_vg_container.eo @@ -4,7 +4,7 @@ class Efl.VG.Container (Efl.VG) methods { child_get { params { - @in name: const(char)*; + @in name: string; } return: Efl.VG; } diff --git a/src/lib/evas/canvas/evas_box.eo b/src/lib/evas/canvas/evas_box.eo index 75ce5afebe..d33ec74fdf 100644 --- a/src/lib/evas/canvas/evas_box.eo +++ b/src/lib/evas/canvas/evas_box.eo @@ -296,7 +296,7 @@ class Evas.Box (Evas.Smart.Clipped) return: int @warn_unused; [[The numerical ID of the given property or $-1, on errors.]] params { - @in name: const(char)* @nonull; [[The name string of the option being searched, for + @in name: string @nonull; [[The name string of the option being searched, for its ID.]] } } @@ -442,7 +442,7 @@ class Evas.Box (Evas.Smart.Clipped) function. They'd have to implement it and set it to be the _Evas_Object_Box_Api.property_name_get smart class function of the box, which is originally set to $null.]] - return: const(char)* @warn_unused; [[The name of the given property or $null, on errors.]] + return: string @warn_unused; [[The name of the given property or $null, on errors.]] params { @in property: int; [[The numerical identifier of the option being searched, for its name.]] diff --git a/src/lib/evas/canvas/evas_canvas.eo b/src/lib/evas/canvas/evas_canvas.eo index d4a51dcc47..9333431721 100644 --- a/src/lib/evas/canvas/evas_canvas.eo +++ b/src/lib/evas/canvas/evas_canvas.eo @@ -559,7 +559,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, @.key_lock_off. ]] params { - @in keyname: const(char)* @nonull; [[The name of the lock to enable.]] + @in keyname: string @nonull; [[The name of the lock to enable.]] } } key_modifier_mask_get @const { @@ -580,7 +580,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, modifier for canvas $e. ]] params { - @in keyname: const(char)* @nonull; [[The name of the modifier key to create the mask for.]] + @in keyname: string @nonull; [[The name of the modifier key to create the mask for.]] } } key_modifier_add { @@ -603,7 +603,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, "Control", "Alt", "Meta", "Hyper", "Super". ]] params { - @in keyname: const(char)* @nonull; [[ + @in keyname: string @nonull; [[ The name of the modifier key to add to the list of Evas modifiers. ]] @@ -618,7 +618,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, \@ref evas_key_modifier_is_set. ]] params { - @in keyname: const(char)* @nonull; [[The name of the modifier to disable.]] + @in keyname: string @nonull; [[The name of the modifier to disable.]] } } objects_at_xy_get @const { @@ -749,7 +749,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, See also @.key_lock_on. ]] params { - @in keyname: const(char)* @nonull; [[The name of the lock to disable.]] + @in keyname: string @nonull; [[The name of the lock to disable.]] } } nochange_push { @@ -814,7 +814,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, See also @.key_modifier_off. ]] params { - @in keyname: const(char)* @nonull; [[The name of the modifier to enable.]] + @in keyname: string @nonull; [[The name of the modifier to enable.]] } } font_available_list @const { @@ -824,7 +824,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, fontconfig support, and the paths provided at runtime as explained in \@ref Evas_Font_Path_Group. ]] - return: list @warn_unused; [[ + return: list @warn_unused; [[ A newly allocated list of strings. Do not change the strings. Be sure to call \@ref evas_font_available_list_free after you're done. @@ -855,7 +855,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, $null. ]] params { - @in name: const(char)*; [[The given name.]] + @in name: string; [[The given name.]] } } font_path_append { @@ -863,7 +863,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, given evas. ]] params { - @in path: const(char)* @nonull; [[The new font path.]] + @in path: string @nonull; [[The new font path.]] } } touch_point_list_nth_id_get { @@ -930,7 +930,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, canvas $e. ]] params { - @in keyname: const(char)* @nonull; [[The name of the key to remove from the locks list.]] + @in keyname: string @nonull; [[The name of the key to remove from the locks list.]] } } damage_rectangle_add { @@ -953,7 +953,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, } font_path_list @const { [[Retrieves the list of font paths used by the given evas.]] - return: const(list) @warn_unused; [[The list of font paths used.]] + return: const(list) @warn_unused; [[The list of font paths used.]] } image_cache_reload { [[Reload the image cache. @@ -1054,7 +1054,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, See also @.key_modifier_add. ]] params { - @in keyname: const(char)* @nonull; [[The name of the key to remove from the modifiers list.]] + @in keyname: string @nonull; [[The name of the key to remove from the modifiers list.]] } } touch_point_list_nth_state_get { @@ -1202,7 +1202,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, given evas. ]] params { - @in path: const(char)* @nonull; [[The new font path.]] + @in path: string @nonull; [[The new font path.]] } } obscured_clear { @@ -1270,7 +1270,7 @@ class Evas.Canvas (Eo.Base, Evas.Common_Interface, Efl.Animator, "Num_Lock", "Scroll_Lock". ]] params { - @in keyname: const(char)* @nonull; [[The name of the key to add to the locks list.]] + @in keyname: string @nonull; [[The name of the key to add to the locks list.]] } } render_idle_flush { diff --git a/src/lib/evas/canvas/evas_canvas3d_object.eo b/src/lib/evas/canvas/evas_canvas3d_object.eo index d7aac96278..ee4894ca95 100644 --- a/src/lib/evas/canvas/evas_canvas3d_object.eo +++ b/src/lib/evas/canvas/evas_canvas3d_object.eo @@ -52,14 +52,14 @@ class Evas.Canvas3D.Object (Eo.Base, Evas.Common_Interface) callback_register @virtual_pure { [[Pure virtual register samrt callback function.]] params { - @in event: const(char)*; [[Event type.]] + @in event: string; [[Event type.]] @in data: const(void)*; [[User data.]] } } callback_unregister @virtual_pure { [[Pure virtual unregister smart callback function.]] params { - @in event: const(char)*; [[Event type.]] + @in event: string; [[Event type.]] } } } diff --git a/src/lib/evas/canvas/evas_canvas3d_texture.eo b/src/lib/evas/canvas/evas_canvas3d_texture.eo index 5527c7ce80..d63edc2c0b 100644 --- a/src/lib/evas/canvas/evas_canvas3d_texture.eo +++ b/src/lib/evas/canvas/evas_canvas3d_texture.eo @@ -60,8 +60,8 @@ class Evas.Canvas3D.Texture (Evas.Canvas3D.Object, Evas.Common_Interface) [[Set the data of the given texture from file.]] params { - @in file: const(char)*; [[Path to the image file.]] - @in key: const(char)*; [[Key in the image file.]] + @in file: string; [[Path to the image file.]] + @in key: string; [[Key in the image file.]] } } diff --git a/src/lib/evas/canvas/evas_object.eo b/src/lib/evas/canvas/evas_object.eo index af20760857..c2174c382f 100644 --- a/src/lib/evas/canvas/evas_object.eo +++ b/src/lib/evas/canvas/evas_object.eo @@ -110,7 +110,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, */ } values { - type: const(char)*; [[The type of the object.]] + type: string; [[The type of the object.]] } } @property size_hint_min { @@ -614,7 +614,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, */ } values { - name: const(char)*; [[The given name.]] + name: string; [[The given name.]] } } @property scale { @@ -1065,7 +1065,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, return: bool @warn_unused; [[$true if the call succeeded, $false otherwise.]] params { - @in keyname: const(char)* @nonull; [[The key to request events for.]] + @in keyname: string @nonull; [[The key to request events for.]] @in modifiers: Evas.Modifier_Mask; [[A mask of modifiers that must be present to trigger the event.]] @in not_modifiers: Evas.Modifier_Mask; [[A mask of modifiers that must @@ -1092,7 +1092,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, ]] return: bool @warn_unused; params { - @in type: const(char)* @nonull; [[The name (type) of the smart class to check for.]] + @in type: string @nonull; [[The name (type) of the smart class to check for.]] } } name_child_find @const { @@ -1112,7 +1112,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, return: Evas.Object @warn_unused; [[The Evas object with the given name on success, Otherwise $null.]] params { - @in name: const(char)*; [[The given name.]] + @in name: string; [[The given name.]] @in recurse: int; [[ Set to the number of child levels to recurse (0 == don't recurse, 1 == only look at the children of $obj or their @@ -1138,7 +1138,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, See the full example @ref Example_Evas_Events "here". */ params { - @in keyname: const(char)* @nonull; [[he key the grab is set for.]] + @in keyname: string @nonull; [[he key the grab is set for.]] @in modifiers: Evas.Modifier_Mask; [[A mask of modifiers that must be present to trigger the event.]] @in not_modifiers: Evas.Modifier_Mask; [[A mask of modifiers that mus @@ -1182,7 +1182,7 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface, Efl.Gfx, Efl.Gfx.Stack, return: bool @warn_unused; [[$true if $obj or any of its parents is of type $type, $false otherwise.]] params { - @in type: const(char)* @nonull; [[The type (name string) to check for. Must be the name.]] + @in type: string @nonull; [[The type (name string) to check for. Must be the name.]] } } @property no_render { diff --git a/src/lib/evas/canvas/evas_object_smart.eo b/src/lib/evas/canvas/evas_object_smart.eo index fda3a8dc9c..982ba23952 100644 --- a/src/lib/evas/canvas/evas_object_smart.eo +++ b/src/lib/evas/canvas/evas_object_smart.eo @@ -197,7 +197,7 @@ class Evas.Object.Smart (Evas.Object, Evas.Signal_Interface) If parameter is $null, no search will be done on instance descriptions.]] params { - @in name: const(char)* @nonull; [[name of desired callback, must not be $null. The + @in name: string @nonull; [[name of desired callback, must not be $null. The search have a special case for name being the same pointer as registered with Evas_Smart_Cb_Description, one can use it to avoid excessive use of strcmp().]] diff --git a/src/lib/evas/canvas/evas_text.eo b/src/lib/evas/canvas/evas_text.eo index f2c95f9dd3..5f3738ccb9 100644 --- a/src/lib/evas/canvas/evas_text.eo +++ b/src/lib/evas/canvas/evas_text.eo @@ -66,7 +66,7 @@ class Evas.Text (Evas.Object, Efl.Text, Efl.Text.Properties, Evas.Filter) get { } values { - delim: const(char)*; [[A null terminated string of delimiters, e.g ",|".]] + delim: string; [[A null terminated string of delimiters, e.g ",|".]] } } @property outline_color { diff --git a/src/lib/evas/canvas/evas_textblock.eo b/src/lib/evas/canvas/evas_textblock.eo index bba215d37d..1de4638138 100644 --- a/src/lib/evas/canvas/evas_textblock.eo +++ b/src/lib/evas/canvas/evas_textblock.eo @@ -19,7 +19,7 @@ class Evas.Textblock (Evas.Object) [[Get the markup of the object.]] } values { - text: const(char)*; [[The markup text to use.]] + text: string; [[The markup text to use.]] } } @property valign { @@ -68,7 +68,7 @@ class Evas.Textblock (Evas.Object) ]] } values { - delim: const(char)*; [[A null terminated string of delimiters, e.g ",|" or $null if empty.]] + delim: string; [[A null terminated string of delimiters, e.g ",|" or $null if empty.]] } } @property replace_char { @@ -76,7 +76,7 @@ class Evas.Textblock (Evas.Object) [[Set the "replacement character" to use for the given textblock object.]] } values { - ch: const(char)*; [[The charset name.]] + ch: string; [[The charset name.]] } } @property legacy_newline { @@ -208,7 +208,7 @@ class Evas.Textblock (Evas.Object) Returns $null if no replacement character is in use. ]] - return: const(char)*; [[Replacement character or $null.]] + return: string; [[Replacement character or $null.]] } style_user_pop { [[Del the from the top of the user style stack. @@ -236,7 +236,7 @@ class Evas.Textblock (Evas.Object) legacy: evas_textblock_node_format_list_get; return: const(list); params { - @in anchor: const(char)*; + @in anchor: string; } } style_user_peek @const { diff --git a/src/tests/eolian/data/object_impl.eo b/src/tests/eolian/data/object_impl.eo index 05f88edaae..47cc95ba89 100644 --- a/src/tests/eolian/data/object_impl.eo +++ b/src/tests/eolian/data/object_impl.eo @@ -10,7 +10,7 @@ class Object_Impl (Base) { get { } keys { - part: const(char)*; + part: string; } values { value: own(list); @@ -47,7 +47,7 @@ class Object_Impl (Base) { [[comment foo]] params { @in a: int; - @in b: const(char)*; + @in b: string; } } pure_foo3 @virtual_pure { diff --git a/src/tests/eolian/data/struct.eo b/src/tests/eolian/data/struct.eo index cbdec54fce..f5656362c5 100644 --- a/src/tests/eolian/data/struct.eo +++ b/src/tests/eolian/data/struct.eo @@ -1,6 +1,6 @@ struct Named { field: int; - something: const(char)*; + something: string; } struct Another { diff --git a/src/tests/eolian_cxx/simple.eo b/src/tests/eolian_cxx/simple.eo index f3ce6f08d0..fec6f464a9 100644 --- a/src/tests/eolian_cxx/simple.eo +++ b/src/tests/eolian_cxx/simple.eo @@ -7,7 +7,7 @@ class Simple (Eo.Base) } name_get { params { - @out name: const(char)*; + @out name: string; } return: bool; } diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo index b4cd387316..94b43446a7 100644 --- a/src/tests/eolian_js/test_object.eo +++ b/src/tests/eolian_js/test_object.eo @@ -121,9 +121,9 @@ class Test.Object (Eo.Base) { } method_array_of_strings_check { params { - @in a_in: array; + @in a_in: array; } - return: array; + return: array; } method_array_of_ints_check { params { @@ -174,9 +174,9 @@ class Test.Object (Eo.Base) { } method_list_of_strings_check { params { - @in l_in: list; + @in l_in: list; } - return: list; + return: list; } method_list_of_ints_check { params { @@ -216,9 +216,9 @@ class Test.Object (Eo.Base) { } method_accessor_of_strings_check { params { - @in a_in: accessor; + @in a_in: accessor; } - return: accessor; + return: accessor; } method_accessor_of_ints_check { params { @@ -258,9 +258,9 @@ class Test.Object (Eo.Base) { } method_iterator_of_strings_check { params { - @in i_in: iterator; + @in i_in: iterator; } - return: iterator; + return: iterator; } method_iterator_of_ints_check { params { @@ -340,7 +340,7 @@ class Test.Object (Eo.Base) { events { test; test,structarg: Test.Struct_Ex; - test,stringarg: const(char)*; + test,stringarg: string; repeated,event,name; } }