From 9d7fb60785b1cce81518190d274c4ee2afb97bf8 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 15 Apr 2008 20:30:22 +0000 Subject: [PATCH] Added mote about deprecating epicsShareAPI. --- src/libCom/misc/shareLib.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libCom/misc/shareLib.h b/src/libCom/misc/shareLib.h index 4018f6bde..b1044187c 100644 --- a/src/libCom/misc/shareLib.h +++ b/src/libCom/misc/shareLib.h @@ -29,6 +29,13 @@ * int epicsShareAPI myExtFunc ( int arg ); * int epicsShareAPI myExtFunc ( int arg ) {} * + * ** NOTE ** epicsShareAPI is deprecated for new routines, don't use it! + * In a future major release (R3.15) we will remove this keyword + * from most EPICS APIs, although CA may continue to use it. + * This is a major release though, since it affects the order + * that arguments are pushed onto the stack on Windows and we + * don't want a replacement DLL to silent cause mayhem... + * * 2) epicsShare{Func,Class,Extern,Def} - specifies shareable library (DLL) * export/import related information in the source code. On windows these keywords * allow faster dispatching of calls to DLLs because more is known at compile time.