There are three instances of the module definition macros,
authorLuigi Rizzo <rizzo@icir.org>
Wed, 2 Jan 2008 08:53:16 +0000 (08:53 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 2 Jan 2008 08:53:16 +0000 (08:53 +0000)
commitca2a8e3fe1082fbf193f0f31a4ba08b01ec7cfe0
tree337a11dc4d135c75bcc1e8d6b95d0401cdcc94a4
parent04db372bf38308c3334619cf2efd50709ba60b31
There are three instances of the module definition macros,
which make maintaining this file very error prone.

This commit merges the embedded and !embedded versions,
and fixes the C++ version. Eventually we should move to
a single version of the macro.

Too bad C++ doesn't like the C-style struct initializers
    .foo = some_value

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/module.h