You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ CNA provides an interface for using native C-compatible shared libraries without
23
23
24
24
For Windows-based systems you can try to do the same as for Linux (for building you may use [mingw32](http://www.mingw.org/) or [mingw32-w64](http://mingw-w64.sourceforge.net/)). Or you can just download [binary files](https://github.com/intersystems-ru/cna/releases). **Note: types (32-bit or 64-bit) of libcna, current Caché installation and external libraries must be equal.**
25
25
26
-
##Runnning the Tests##
26
+
##Runnning tests##
27
27
28
28
If you want to check if CNA works correctly on your system you may run the unit-tests. You will need native library with test functions 'libtest'. If you build CNA by yourself, it is already in the right place. If no — it must be placed in directory `cna/tests/`. Than you should set `^UnitTestRoot` global to the right value and run the tests.
29
29
@@ -32,7 +32,7 @@ If you want to check if CNA works correctly on your system you may run the unit-
32
32
do ##class(%UnitTest.Manager).RunTest()
33
33
```
34
34
35
-
##Simple Example##
35
+
##Simple example##
36
36
37
37
Let's try to call `strlen` function from C standard library. In Windows it should be located in `C:\Windows\System32\msvcrt.dll`. In Linux — `/usr/lib/libc.so`. `strlen` returns the length of the string:
0 commit comments