Browse Source

Fix some typos in the docs

pull/100/head
Stephen Kennedy 12 years ago
parent
commit
d6ecd455c6
  1. 6
      docs/DevManual.md
  2. 2
      docs/UsersManual.md

6
docs/DevManual.md

@ -55,7 +55,7 @@ providing an AST (Abstract Syntax Tree) of the code, ready to be consumed
by the generator. by the generator.
This is done in Parser.cpp, we walk the AST provided by Clang and mirror This is done in Parser.cpp, we walk the AST provided by Clang and mirror
it in a .NET-friendly way. Most of this code is pretty straigtforward if it in a .NET-friendly way. Most of this code is pretty straightforward if
you are familiar how Clang represents C++ code in AST nodes. you are familiar how Clang represents C++ code in AST nodes.
Recommended Clang documentation: [http://clang.llvm.org/docs/InternalsManual.html](http://clang.llvm.org/docs/InternalsManual.html "Clang Internals") Recommended Clang documentation: [http://clang.llvm.org/docs/InternalsManual.html](http://clang.llvm.org/docs/InternalsManual.html "Clang Internals")
@ -69,7 +69,7 @@ Different target languages provide different features, so each generator needs t
process the declarations in certain ways to provide a good mapping to the target process the declarations in certain ways to provide a good mapping to the target
language. language.
Aditionally some of it can be provided directly in the native source Additionally some of it can be provided directly in the native source
code, by annotating the declarations with custom attributes. code, by annotating the declarations with custom attributes.
## Runtime ## Runtime
@ -106,7 +106,7 @@ implemented with an FFI (foreign function interface) in the target language VM
virtual machine). In .NET this is done via the P/Invoke system. virtual machine). In .NET this is done via the P/Invoke system.
4. Similiar Tools 4. Similar Tools
================= =================
* Sharppy - .NET bindings generator for unmanaged C++ * Sharppy - .NET bindings generator for unmanaged C++

2
docs/UsersManual.md

@ -117,7 +117,7 @@ Special cases to be aware of:
### Variadic arguments (TODO) ### Variadic arguments (TODO)
C/C++ variadic arguments need careful handling because they are not contrained C/C++ variadic arguments need careful handling because they are not constrained
to be of the same type. .NET provides two types of variadic arguments support: to be of the same type. .NET provides two types of variadic arguments support:
#### C# params-style #### C# params-style

Loading…
Cancel
Save