Removed more extraneous code tags from docs.

This commit is contained in:
Maggie Mari 2012-08-17 14:40:24 -05:00
commit 1b67d32f4b
4 changed files with 10 additions and 20 deletions

View file

@ -403,13 +403,11 @@ example, we can create a C file with the following simple function:
#include <stdio.h>
double putchard(double x) {
putchar((char)x); return 0; } {%
endhighlight %}
putchar((char)x); return 0; }
We can then compile this into a shared library with GCC:
gcc -shared -fPIC -o putchard.so putchard.c {%
endhighlight %}
gcc -shared -fPIC -o putchard.so putchard.c
Now we can load this library into the Python process using
``llvm.core.load_library_permanently`` and access it from Kaleidoscope