Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/08/07 18:30
Read: times


 
#146789 - True
Responding to: ???'s previous message
Russ Cooper said:
... the table of function pointers, vfunc[], is declared as an automatic variable within the function newvswitch(). I'm pretty sure that means the entire table has to be initialized every time the function is called. True?

Yes, I think you're right.

In general, as you say, that's just inefficient;
On an 8051, in particular, it would be deadly - due to the issues with overlaying already mentioned at length...



List of 11 messages in thread
TopicAuthorDate
C : pointers of function und pointers of pointers            01/01/70 00:00      
   Function pointers and stuff            01/01/70 00:00      
   Parameter passing in C            01/01/70 00:00      
   C FAQ            01/01/70 00:00      
   Function pointer demo            01/01/70 00:00      
      Heads up            01/01/70 00:00      
         True            01/01/70 00:00      
            I use function pointers all the time            01/01/70 00:00      
               void-void function pointers need not be slow            01/01/70 00:00      
                  correct, with a caveat            01/01/70 00:00      
   thank you all.            01/01/70 00:00      

Back to Subject List