[MPlayer-cvslog] r37721 - trunk/TOOLS/mp-uncrustify-style.cfg

ib subversion at mplayerhq.hu
Sun Feb 14 08:16:33 CET 2016


Author: ib
Date: Sun Feb 14 08:16:32 2016
New Revision: 37721

Log:
Update the uncrustify configuration file.

Set sp_after_ptr_star_qualifier to achieve:
void * const instead of void *const

Set sp_ptr_star_paren to achieve:
typedef void *(*foo)(void) instead of typedef void * (*foo)(void)

Modified:
   trunk/TOOLS/mp-uncrustify-style.cfg

Modified: trunk/TOOLS/mp-uncrustify-style.cfg
==============================================================================
--- trunk/TOOLS/mp-uncrustify-style.cfg	Sat Feb 13 23:51:57 2016	(r37720)
+++ trunk/TOOLS/mp-uncrustify-style.cfg	Sun Feb 14 08:16:32 2016	(r37721)
@@ -69,9 +69,15 @@ sp_between_ptr_star
 # Add or remove space after pointer star '*', if followed by a word.
 sp_after_ptr_star                         = remove   # ignore/add/remove/force
 
+# Add or remove space after pointer star '*', if followed by a qualifier.
+sp_after_ptr_star_qualifier               = force    # ignore/add/remove/force
+
 # Add or remove space after a pointer star '*', if followed by a func proto/def.
 sp_after_ptr_star_func                    = remove   # ignore/add/remove/force
 
+# Add or remove space after a pointer star '*', if followed by an open paren (function types).
+sp_ptr_star_paren                         = remove   # ignore/add/remove/force
+
 # Add or remove space before a reference sign '&'
 sp_before_byref                           = force    # ignore/add/remove/force
 


More information about the MPlayer-cvslog mailing list