projects
/
systembsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2068f21
)
fix gen-gdbus-interfaces.sh to namespace generated functions by targetted DBus interface
author
kremlin
<kremlin@juliana.home.network>
Tue, 8 Jul 2014 02:53:20 +0000
(21:53 -0500)
committer
kremlin
<kremlin@juliana.home.network>
Tue, 8 Jul 2014 02:53:20 +0000
(21:53 -0500)
scripts/gen-gdbus-interfaces.sh
patch
|
blob
|
blame
|
history
diff --git
a/scripts/gen-gdbus-interfaces.sh
b/scripts/gen-gdbus-interfaces.sh
index 32f66b3091f7c492f4c15a1fdc189af1840c46c8..c63dc4f3c1cd905b63de8f5e5b84b606ab88ebeb 100755
(executable)
--- 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"