]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app.h: Restore C++ compatibility for macro AST_DECLARE_APP_ARGS
authorJaco Kroon <jaco@uls.co.za>
Wed, 10 Feb 2021 17:59:01 +0000 (19:59 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 23 Feb 2021 19:39:36 +0000 (13:39 -0600)
commit916d5d5e45656ae638352dda7119549e14184e10
tree0f8cfc590b27ff2b9f8aec1f2f3849dc16a3cf01
parent985d3e4940ccb92309fd45117501680f56ed1275
app.h: Restore C++ compatibility for macro AST_DECLARE_APP_ARGS

This partially reverts commit 3d1bf3c537bba0416f691f48165fdd0a32554e8a,
specifically for app.h.

This works with both gcc 9.3.0 and 10.2.0 now, both for C and C++ (as
tested with external modules).

ASTERISK-29287

Change-Id: I5b9f02a9b290675682a1d13f1788fdda597c9fca
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
include/asterisk/app.h