From: Florian Paul Schmidt Date: Sun, 28 Mar 2010 04:04:00 +0000 (+0000) Subject: (Commit created by redmine exporter script from page "NewQC" version 8) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85970e4592f2a86bc1d55125a24ce19027d140ca;p=xonotic%2Fxonotic.wiki.git (Commit created by redmine exporter script from page "NewQC" version 8) --- diff --git a/NewQC.textile b/NewQC.textile index a1f1948..5f22d69 100644 --- a/NewQC.textile +++ b/NewQC.textile @@ -47,3 +47,16 @@ From now on, the code does what the first instinct tells you: it creates a global with the initial value 3. Contrary to old QC, where it created a constant. To create a constant use:
const float x = 3
+ +h1. lda17h's suggestions + +|_.definition|_.meaning| +|float foo(void)| function| +|float foo*(void)| function pointer| +|float .foo(void)| member function(methog). This indicates that the name foo is added to all entities (in the same way as e.g. ".float foo;" indicates that the name foo will be added to all entities) which makes more sense imho to denote member functions.. | +|.float .foo(void)|/2. member: method/function pointer returning .float. (See previous comment)| +|..float foo*(void)| +|.*float foo*(void)| function pointer returning .float| +|.float *| fieldpointer| +|.float *foo*(void)| fieldpointer: method/function pointer| +|.float .foo(void)| fieldpointer: method/function pointer returning .float|