Skip to content

Commit

Permalink
Merge branch 'master' of github.com:intersystems-ru/cna
Browse files Browse the repository at this point in the history
  • Loading branch information
daugeldauge committed Sep 9, 2014
2 parents 34c7f87 + 36b9af6 commit 78e1445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CNA provides an interface for using native C-compatible shared libraries without

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.**

##Runnning the Tests##
##Runnning tests##

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.

Expand All @@ -32,7 +32,7 @@ If you want to check if CNA works correctly on your system you may run the unit-
do ##class(%UnitTest.Manager).RunTest()
```

##Simple Example##
##Simple example##

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:

Expand Down

0 comments on commit 78e1445

Please sign in to comment.