diff src/beval.h @ 18753:6e3dc2d630c2 v8.1.2366

patch 8.1.2366: using old C style comments Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 19:44:38 2019 +0100 patch 8.1.2366: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 19:45:03 +0100
parents ff3c99bd1038
children 2ef19eed524a
line wrap: on
line diff
--- a/src/beval.h
+++ b/src/beval.h
@@ -24,51 +24,51 @@
 
 typedef enum
 {
-    ShS_NEUTRAL,			/* nothing showing or pending */
-    ShS_PENDING,			/* data requested from debugger */
-    ShS_UPDATE_PENDING,			/* switching information displayed */
-    ShS_SHOWING				/* the balloon is being displayed */
+    ShS_NEUTRAL,			// nothing showing or pending
+    ShS_PENDING,			// data requested from debugger
+    ShS_UPDATE_PENDING,			// switching information displayed
+    ShS_SHOWING				// the balloon is being displayed
 } BeState;
 
 typedef struct BalloonEvalStruct
 {
 #ifdef FEAT_BEVAL_GUI
 # ifdef FEAT_GUI_GTK
-    GtkWidget		*target;	/* widget we are monitoring */
+    GtkWidget		*target;	// widget we are monitoring
     GtkWidget		*balloonShell;
     GtkWidget		*balloonLabel;
-    unsigned int	timerID;	/* timer for run */
-    BeState		showState;	/* tells us whats currently going on */
+    unsigned int	timerID;	// timer for run
+    BeState		showState;	// tells us whats currently going on
     int			x;
     int			y;
-    unsigned int	state;		/* Button/Modifier key state */
+    unsigned int	state;		// Button/Modifier key state
 # else
 #  if !defined(FEAT_GUI_MSWIN)
-    Widget		target;		/* widget we are monitoring */
+    Widget		target;		// widget we are monitoring
     Widget		balloonShell;
     Widget		balloonLabel;
-    XtIntervalId	timerID;	/* timer for run */
-    BeState		showState;	/* tells us whats currently going on */
-    XtAppContext	appContext;	/* used in event handler */
+    XtIntervalId	timerID;	// timer for run
+    BeState		showState;	// tells us whats currently going on
+    XtAppContext	appContext;	// used in event handler
     Position		x;
     Position		y;
     Position		x_root;
     Position		y_root;
-    int			state;		/* Button/Modifier key state */
+    int			state;		// Button/Modifier key state
 #  else
     HWND		target;
     HWND		balloon;
     int			x;
     int			y;
-    BeState		showState;	/* tells us whats currently going on */
+    BeState		showState;	// tells us whats currently going on
 #  endif
 # endif
 # if !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MSWIN)
-    Dimension		screen_width;	/* screen width in pixels */
-    Dimension		screen_height;	/* screen height in pixels */
+    Dimension		screen_width;	// screen width in pixels
+    Dimension		screen_height;	// screen height in pixels
 # endif
     void		(*msgCB)(struct BalloonEvalStruct *, int);
-    void		*clientData;	/* For callback */
+    void		*clientData;	// For callback
 #endif
 
     int			ts;		// tabstop setting for this buffer
@@ -81,11 +81,11 @@ typedef struct BalloonEvalStruct
 #endif
 } BalloonEval;
 
-#define EVAL_OFFSET_X 15 /* displacement of beval topleft corner from pointer */
+#define EVAL_OFFSET_X 15 // displacement of beval topleft corner from pointer
 #define EVAL_OFFSET_Y 10
 
 #ifdef FEAT_BEVAL_GUI
 # include "gui_beval.pro"
 #endif
 
-#endif /* BEVAL__H and FEAT_BEVAL_GUI */
+#endif // BEVAL__H and FEAT_BEVAL_GUI