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/simple | |
| parent | 7bb7295a33c78e1739907bbebf151a2a27432a24 (diff) | |
| download | swig-d3b17437b12625bd31118f40e06a3bb28b6c5fda.tar.gz | |
[js] Stop using swig -c++ for C examples
Diffstat (limited to 'Examples/javascript/simple')
| -rw-r--r-- | Examples/javascript/simple/Makefile | 2 | ||||
| -rw-r--r-- | Examples/javascript/simple/binding.gyp.in | 2 | ||||
| -rw-r--r-- | Examples/javascript/simple/example.c (renamed from Examples/javascript/simple/example.cxx) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Examples/javascript/simple/Makefile b/Examples/javascript/simple/Makefile index 54a8f7b03..413b64bbd 100644 --- a/Examples/javascript/simple/Makefile +++ b/Examples/javascript/simple/Makefile @@ -1,3 +1,3 @@ -SRCS = example.cxx +SRCS = example.c include $(SRCDIR)../example.mk diff --git a/Examples/javascript/simple/binding.gyp.in b/Examples/javascript/simple/binding.gyp.in index cb2b45e8f..cfd4854b0 100644 --- a/Examples/javascript/simple/binding.gyp.in +++ b/Examples/javascript/simple/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/simple/example.cxx b/Examples/javascript/simple/example.c index 1c2af789c..1c2af789c 100644 --- a/Examples/javascript/simple/example.cxx +++ b/Examples/javascript/simple/example.c |
