Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: CCS - the main routine's progress with the pointer sub routines

$
0
0

Hi,

I am not sure if I understand your question correctly. Let me try:

Every time the code reaches the (*Alpha_State_Ptr)(), the next line in the for(;;) loop will only be called after the function pointed by Alpha_State_Ptr returns - independently of the number of sub-routines it called after that.

However, if throughout the code the pointer Alpha_State_Ptr can point to several functions across the code, then every time the code reaches the (*Alpha_State_Ptr)() statement it will only run the function whose address is assigned at that point (not all the possible values it could have across the code).

Regards,

Rafael

 


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>