aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvs12024-10-25 10:52:43 +1000
committerdvs12024-10-25 10:52:43 +1000
commit8177633357add8f7433598251aa63c610dfdd284 (patch)
tree3277036773267b18969a21c1675dbb87b71d95e8
parentOther potential names. (diff)
downloadJackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.zip
JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.gz
JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.bz2
JackOnAllDevices-8177633357add8f7433598251aa63c610dfdd284.tar.xz
Added an example in C. B-)
-rwxr-xr-xtest_.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/test_.lua b/test_.lua
index d29a433..d305eb8 100755
--- a/test_.lua
+++ b/test_.lua
@@ -96,6 +96,17 @@ __[[#!/bin/bash
96]]:log():show():Do() 96]]:log():show():Do()
97print('') 97print('')
98 98
99__[[#!/usr/bin/tcc -run
100 #include <tcclib.h>
101
102 int main()
103 {
104 printf("Hello world from C.\n");
105 return 0;
106 }
107]]:log():show():Do()
108print('')
109
99__[[#!/usr/bin/env luajit 110__[[#!/usr/bin/env luajit
100 print('Hello ' .. "world " .. [=[from]=] .. " Lua.") 111 print('Hello ' .. "world " .. [=[from]=] .. " Lua.")
101]]:log():show():Do() 112]]:log():show():Do()