better opengl wrapper; oids and endians modules documented

This commit is contained in:
Araq 2012-04-04 21:26:23 +02:00
commit 07b355bea4
7 changed files with 2572 additions and 2529 deletions

View file

@ -7,7 +7,8 @@
# distribution, for details about the copyright.
#
## This module contains helpers that deal with `endian`:idx: changes.
## This module contains helpers that deal with different byte orders
## (`endian`:idx:).
proc swapEndian64*(outp, inp: pointer) =
## copies `inp` to `outp` swapping bytes. Both buffers are supposed to