Revision: 719 Author: ntrel Date: 2006-08-15 05:26:15 -0700 (Tue, 15 Aug 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=719&view=rev
Log Message: ----------- Use guint for search_get_file_list length
Modified Paths: -------------- trunk/src/search.c trunk/tagmanager/c.c Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2006-08-15 11:44:23 UTC (rev 718) +++ trunk/src/search.c 2006-08-15 12:26:15 UTC (rev 719) @@ -62,7 +62,7 @@
static gchar **search_get_argv(const gchar **argv_prefix, const gchar *dir);
-static GSList *search_get_file_list(const gchar *path, gint *length); +static GSList *search_get_file_list(const gchar *path, guint *length);
static void add_find_checkboxes(GtkDialog *dialog); @@ -859,11 +859,11 @@ /* Gets a list of files in the current directory, or NULL if no files found. * The list and the data in the list should be freed after use. * *length is set to the number of non-NULL data items in the list. */ -static GSList *search_get_file_list(const gchar *path, gint *length) +static GSList *search_get_file_list(const gchar *path, guint *length) { GError *error = NULL; GSList *list = NULL; - gint len = 0; + guint len = 0; const gchar *filename; GDir *dir; g_return_val_if_fail(path != NULL, NULL);
Modified: trunk/tagmanager/c.c =================================================================== --- trunk/tagmanager/c.c 2006-08-15 11:44:23 UTC (rev 718) +++ trunk/tagmanager/c.c 2006-08-15 12:26:15 UTC (rev 719) @@ -875,6 +875,14 @@ { tag->extensionFields.access = accessField (st); } + if ((TRUE == st->gotArgs) && (TRUE == Option.extensionFields.argList) && + ((TAG_FUNCTION == type) || (TAG_METHOD == type) || (TAG_PROTOTYPE == type))) { + + if (1) { + tag->extensionFields.arglist = getArglistFromPos( + tag->filePosition, tag->name); + } + } break; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.