Hello friends.

with the purpose of maintaining the proper functioning of my functions that are linked to a DLL, i need use the function "wait_for" always after performing some function of the dll.
Sample:

Code:
int select = sql_select("SELECT * FROM terrains");
	wait_for(sql_select);

        if(select)
        ...


This Became too boring, because I need to do this many, many times throughout the script. (wait_for()...wait_for() ...)

Is there any way to create a macro linked to functions?
Whenever I call a function, it automatically performs another function in end?


Last edited by NeoNeper; 10/22/13 18:39.

Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________