Fixed C++ comments in header file used from C.

This commit is contained in:
Andrew Johnson
2008-07-29 20:12:09 +00:00
parent 26e2529980
commit a6585880f4
2 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -44,8 +44,8 @@ public:
void show ( unsigned int level = 0 );
unsigned int pending ();
private: // Prevent compiler-generated member functions
// default constructor, copy constructor, assignment operator
private: /* Prevent compiler-generated member functions */
/* default constructor, copy constructor, assignment operator */
epicsMessageQueue();
epicsMessageQueue(const epicsMessageQueue &);
epicsMessageQueue& operator=(const epicsMessageQueue &);
@@ -95,7 +95,7 @@ epicsShareFunc void epicsShareAPI epicsMessageQueueShow(
#ifdef __cplusplus
}
#endif /*__cplusplus */
#endif /* __cplusplus */
#include "osdMessageQueue.h"
+5 -4
View File
@@ -49,13 +49,14 @@ public:
class epicsTimer { /* X aCC 655 */
public:
// calls cancel (see warning below) and then destroys the timer
/* calls cancel (see warning below) and then destroys the timer */
virtual void destroy () = 0;
virtual void start ( epicsTimerNotify &, const epicsTime & ) = 0;
virtual void start ( epicsTimerNotify &, double delaySeconds ) = 0;
// WARNING: A deadlock will occur if you hold a lock while
// calling this function that you also take within the timer
// expiration callback.
/* WARNING: A deadlock will occur if you hold a lock while
* calling this function that you also take within the timer
* expiration callback.
*/
virtual void cancel () = 0;
struct expireInfo {
expireInfo ( bool active, const epicsTime & expireTime );