strcpy( app.file, file_to_open);
ApplWrite( apid, VA_START, app.pipe);
is remplaced by :
strcpy( app.file, file_to_open);
ApplWrite( apid, VA_START, ADR(app.pipe));
The variable app.file is a 256-character buffer reserved in
global memory by ApplInit() and devoted to GEM communication
with other application (very important with MiNT memory
protection mode).
The function set_bit() is remplaced by the macro function SET_BIT(). The main advantage is the macro uses untyped variable. The first parameter of set_bit() was a pointer but in SET_BIT() it is not a pointer. Let's see an example. Remplace :
int val; set_bit( &val, 0x100, TRUE);by :
int val; SET_BIT( val, 0x100, TRUE);List of functions with new prototype
AvWaitfor(), ObjcEdit(), WindGet(), ApplWrite(), WindCalc(), give_iconifyxywh(), vqt_extname(), RsrcFixCicon(), FrameCalc(), GrectCenter().