Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1854 - Bug: Autocomplete for callback functions.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

slicer4ever
New Member

3 Posts

Posted - Aug 13 2011 :  01:03:07 AM  Show Profile  Reply with Quote
for an callback function included in an function call, the autocomplete does not finish writing out the code.

example code:

#include <stdio.h>

void foo(int x);

void callfoo(void (*foofunc)(int x));

void foo(int x){
	printf("x: %d\\n", x);
}

//void callfoo( <--autocomplete only displays: "void " for filling in the argument's, where it should be "void (*foofunc)(int x)"
void callfoo(void (*foofunc)(int x)){
	foo(10);
	return;
}

int main(int argc, char **argv){
	callfoo(foo);
}


anyway, wasn't sure if this was the correct forum, sorry if i placed this in the incorrect location.

Edited by - slicer4ever on Aug 13 2011 01:05:31 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 16 2011 :  09:31:26 AM  Show Profile  Reply with Quote
I am seeing the same problem here. Thank you for the very clear description.

case=1248
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:35:57 PM  Show Profile  Reply with Quote
case=1248 is fixed in build 2001.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000