Pelles C forum

Pelles C => Add-ins => Topic started by: Gerome on February 14, 2005, 10:32:39 AM

Title: Function prototype addin
Post by: Gerome on February 14, 2005, 10:32:39 AM
Hi,

I was wondering where can i find the Function prototype addin that was designed for PellesC ?

Thanks a lot if someone got it :)
Title: Function prototype addin
Post by: CLR on February 14, 2005, 04:58:49 PM
Hello Gerome.

I did post the add-in in the Bug reports.  :shock:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=180


It is now here in the 'right' Forum.  :)

EDIT:
removed the attachment
you can get the latest version in http://www.johnfindlay.plus.com/pellesc/addin/addin.htm
or
http://smorgasbordet.com/phpBB2/viewtopic.php?t=779
'Comments automation addin' by frankie
with additional features  :D
Title: Function prototype addin
Post by: Gerome on February 14, 2005, 05:10:28 PM
Hi !

This really helps me a lot !
Thanks again !
Title: Function prototype addin
Post by: TimoVJL on September 25, 2005, 12:31:30 PM
listf.c

With this patch to FindFunc() line 112, maybe headerfiles (.h) can prosessed too ?
Code: [Select]

case ';': // ;
// ----- patch begin
if (strchr(buffer, 40) && strchr(buffer, 41)){
if (!inFunc) fnptr(lines, buffer);
}
// -----  patch end
memset(buffer, 0, BUFSIZE);
n = 0;
break;
Title: Function prototype addin
Post by: CLR on October 01, 2005, 10:24:25 PM
Quote from: "timovjl"
listf.c

With this patch to FindFunc() line 112, maybe headerfiles (.h) can prosessed too ?
Code: [Select]

case ';': // ;
// ----- patch begin
if (strchr(buffer, 40) && strchr(buffer, 41)){
if (!inFunc) fnptr(lines, buffer);
}
// -----  patch end
memset(buffer, 0, BUFSIZE);
n = 0;
break;


Hello timovjl.
I will try and see. Thanks!
Title: Function prototype addin
Post by: CLR on October 01, 2005, 10:36:08 PM
Quote from: "timovjl"
listf.c

With this patch to FindFunc() line 112, maybe headerfiles (.h) can prosessed too ?
Code: [Select]

<--->

yes, that works!
 :)