about deprecation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

about deprecation

Stéphane Ducasse
Hi 

do you think that 

nbCall: fnSpec
"You can override this method if you need to"
<ffiCalloutTranslator>
self deprecated: 'use ffiCall: instead'.
^ (self ffiCalloutIn: thisContext sender)
convention: self ffiCallingConvention;
function: fnSpec library: self ffiLibraryName

can take advantage of the transformWith: 

nbCall: fnSpec
"You can override this method if you need to"
<ffiCalloutTranslator>
self deprecated: 'use ffiCall: instead’ transformWith: ‘`@rec nbCall: `@arg’ ->  ‘`@rec ffiCall: `@arg’ 
^ (self ffiCalloutIn: thisContext sender)
convention: self ffiCallingConvention;
function: fnSpec library: self ffiLibraryName

Thanks 

Stef
--------------------------------------------
Stéphane Ducasse
03 59 35 87 52
Assistant: Aurore Dalle 
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley, 
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France