Commit 47eca450 by Nicolas Capens

Fix doc formatting.

Change-Id: I1387cd9c1666bbb736f75d84679672f1b6964f48 Reviewed-on: https://swiftshader-review.googlesource.com/8270Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent b13cf49c
......@@ -149,20 +149,20 @@ Pointers also use a template class:
Function<Int(Pointer<Int>)> function;
{
Pointer<Int> x = function.Arg<0>();
Int dereference = *x;
Return(dereference);
}
```
Pointer arithmetic is only supported on Pointer<Byte>, and can be used to address structure fields:
Pointer arithmetic is only supported on ```Pointer<Byte>```, and can be used to access structure fields:
```C++
struct S
{
int x;
int y;
int y;
};
Function<Int(Pointer<Byte>)> function;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment