andreas-kupries / critcl

Critcl lets you easily embed C code in Tcl. Online documentation at
http://andreas-kupries.github.io/critcl
Other
72 stars 19 forks source link

Documentation of passing String Arguments #127

Closed rhcarvalho closed 1 year ago

rhcarvalho commented 1 year ago

CriTcl looks very interesting, thanks for maintaining and developing it further!

I was reading the documentation at https://andreas-kupries.github.io/critcl/doc/files/critcl_howto_use.html%3B), and I think if I understand it well then:

   critcl::cproc hello {char* x} void {
    /* char* x; */
-   printf("hello world, from %s (%d bytes)\n", x);
+   printf("hello world, from %s\n", x);
     }
andreas-kupries commented 1 year ago

Thank you for the report.

Done with commit ac0c795e8bffb333146093caea35aef943c9c0e2 TODO: updating the site.