diff options
author | Olly Betts <olly@survex.com> | 2022-12-03 14:16:28 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-04-23 11:09:08 +1200 |
commit | d3b17437b12625bd31118f40e06a3bb28b6c5fda (patch) | |
tree | 520b34dbfd464cfcee4c75435cb54c3259569345 /Examples/javascript/pointer | |
parent | 7bb7295a33c78e1739907bbebf151a2a27432a24 (diff) | |
download | swig-d3b17437b12625bd31118f40e06a3bb28b6c5fda.tar.gz |
[js] Stop using swig -c++ for C examples
Diffstat (limited to 'Examples/javascript/pointer')
-rw-r--r-- | Examples/javascript/pointer/Makefile | 2 | ||||
-rw-r--r-- | Examples/javascript/pointer/binding.gyp.in | 2 | ||||
-rw-r--r-- | Examples/javascript/pointer/example.c (renamed from Examples/javascript/pointer/example.cxx) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Examples/javascript/pointer/Makefile b/Examples/javascript/pointer/Makefile index 54a8f7b03..413b64bbd 100644 --- a/Examples/javascript/pointer/Makefile +++ b/Examples/javascript/pointer/Makefile @@ -1,3 +1,3 @@ -SRCS = example.cxx +SRCS = example.c include $(SRCDIR)../example.mk diff --git a/Examples/javascript/pointer/binding.gyp.in b/Examples/javascript/pointer/binding.gyp.in index cb2b45e8f..cfd4854b0 100644 --- a/Examples/javascript/pointer/binding.gyp.in +++ b/Examples/javascript/pointer/binding.gyp.in @@ -2,7 +2,7 @@ "targets": [ { "target_name": "example", - "sources": [ "<!(cp $srcdir/example.cxx example-gypcopy.cxx && echo example-gypcopy.cxx)", "example_wrap.cxx" ], + "sources": [ "<!(cp $srcdir/example.c example-gypcopy.cxx && echo example-gypcopy.cxx)", "example_wrap.cxx" ], "include_dirs": ["$srcdir"] } ] diff --git a/Examples/javascript/pointer/example.cxx b/Examples/javascript/pointer/example.c index 8762329fe..8762329fe 100644 --- a/Examples/javascript/pointer/example.cxx +++ b/Examples/javascript/pointer/example.c |