Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ymarkovitch:devel
emacs
emacs-cc-mode-custom-kwfile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File emacs-cc-mode-custom-kwfile.patch of Package emacs
diff --git a/lisp/progmodes/cc-custom-keywords.el b/lisp/progmodes/cc-custom-keywords.el new file mode 100644 index 0000000..f4de2c4 --- /dev/null +++ b/lisp/progmodes/cc-custom-keywords.el @@ -0,0 +1,18 @@ +;;; cc-custom-keywords.el --- custom keywords for CC Mode + +(eval-when-compile + (let ((load-path + (if (and (boundp 'byte-compile-dest-file) + (stringp byte-compile-dest-file)) + (cons (file-name-directory byte-compile-dest-file) load-path) + load-path))) + (load "cc-bytecomp" nil t))) + +(defconst c-custom-modifier-kwds + '("thread_local_trivial" "__thread" "__cold" + "_PCOMNEXP" "DLLEXPORT" "DLLIMPORT")) + +(defconst c-custom-hangon-kwds + '("NRPROXYAPI" "NRPROXYCALLBACK" "WINAPI")) + +(cc-provide 'cc-custom-keywords)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor