mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-02 11:46:35 +00:00
90cfe80bac
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments
40 lines
1.1 KiB
EmacsLisp
40 lines
1.1 KiB
EmacsLisp
((nil . ((indent-tabs-mode . t)
|
|
(qpdf-cc-style
|
|
.
|
|
("qpdf"
|
|
(c-basic-offset . 4)
|
|
(c-comment-only-line-offset . 0)
|
|
(c-offsets-alist
|
|
(defun-block-intro . +)
|
|
(block-open . 0)
|
|
(substatement-open . 0)
|
|
(statement-cont . +)
|
|
(case-label . 0)
|
|
(access-label . -2)
|
|
(statement-case-intro . +)
|
|
(statement-case-open . +)
|
|
(arglist-intro . +)
|
|
(arglist-close . 0)
|
|
(inline-open . 0)
|
|
(inlambda . 0)
|
|
)
|
|
)
|
|
)
|
|
(c-noise-macro-names
|
|
. ("QPDF_DLL" "QPDF_DLL_CLASS" "QPDF_DLL_PRIVATE"))
|
|
)
|
|
)
|
|
(c++-mode . ((eval . (progn
|
|
(add-to-list 'c-style-alist qpdf-cc-style)
|
|
(c-set-style "qpdf")
|
|
)
|
|
))
|
|
)
|
|
(c-mode . ((eval . (progn
|
|
(add-to-list 'c-style-alist qpdf-cc-style)
|
|
(c-set-style "qpdf")
|
|
)
|
|
))
|
|
)
|
|
)
|