From 4a8ed6a67a8c7f8e85f7a28394b8e381a7fd3981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Wed, 11 Apr 2018 10:28:02 +0000 Subject: [PATCH] Typo e.g. "it's" --- .../reference/embedding/build_configuration.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/reference/embedding/build_configuration.rst b/doc/source/reference/embedding/build_configuration.rst index a417d03..aafa62e 100644 --- a/doc/source/reference/embedding/build_configuration.rst +++ b/doc/source/reference/embedding/build_configuration.rst @@ -13,19 +13,19 @@ Unicode .. index:: single: Unicode By default Squirrel strings are plain 8-bits ASCII characters; however if the symbol -'SQUNICODE' is defined the VM, compiler and API will use 16-bits characters (UCS2). +'SQUNICODE' is defined the VM, compiler and API will use 16-bit characters (UCS2). .. _squirrel_64bits: ---------------------------------- -Squirrel on 64 bits architectures ---------------------------------- +-------------------------------- +Squirrel on 64-bit architectures +-------------------------------- .. index:: - single: Squirrel on 64 bits architectures + single: Squirrel on 64-bit architectures single: 64 bits -Squirrel can be compiled on 64 bits architectures by defining '_SQ64' in the C++ +Squirrel can be compiled on 64-bit architectures by defining '_SQ64' in the C++ preprocessor. This flag should be defined in any project that includes 'squirrel.h'. .. _userdata_alignment: @@ -38,7 +38,7 @@ Userdata Alignment Both class instances and userdatas can have a buffer associated to them. Squirrel specifies the alignment(in bytes) through the preprocessor defining 'SQ_ALIGNMENT'. -By default SQ_ALIGNMENT is defined as 4 for 32 bits builds and 8 for 64bits builds and builds that use 64bits floats. +By default SQ_ALIGNMENT is defined as 4 for 32-bit builds and 8 for 64-bit builds and builds that use 64-bit floats. It is possible to override the value of SQ_ALIGNMENT respecting the following rules. SQ_ALIGNMENT shall be less than or equal to SQ_MALLOC alignments, and it shall be power of 2. @@ -53,7 +53,7 @@ Stand-alone VM without compiler .. index:: single: Stand-alone VM without compiler -Squirrel's VM can be compiled without it's compiler by defining 'NO_COMPILER' in the C++ preprocessor. +Squirrel's VM can be compiled without its compiler by defining 'NO_COMPILER' in the C++ preprocessor. When 'NO_COMPILER' is defined all function related to the compiler (eg. sq_compile) will fail. Other functions that conditionally load precompiled bytecode or compile a file (eg. sqstd_dofile) will only work with precompiled bytecode.