From f84d928e9f0e8628b7b1cf7716caef2e50962e77 Mon Sep 17 00:00:00 2001 From: kremlin Date: Mon, 7 Jul 2014 21:53:20 -0500 Subject: [PATCH] fix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface --- scripts/gen-gdbus-interfaces.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gen-gdbus-interfaces.sh b/scripts/gen-gdbus-interfaces.sh index 32f66b3..c63dc4f 100755 --- a/scripts/gen-gdbus-interfaces.sh +++ b/scripts/gen-gdbus-interfaces.sh @@ -15,6 +15,8 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# TODO fix #include, should be "foo-gen.h" instead of "src/interfaces/foo/foo-gen.h + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../ && pwd )" if [[ -z "$1" ]]; then @@ -30,6 +32,7 @@ gdbus-codegen \ --generate-docbook doc/$1-docbook.xml \ --generate-c-code src/interfaces/$1/$1-gen \ --c-generate-object-manager \ +--c-namespace $1 conf/$1-ispect.xml echo "success" -- 2.41.0