]> git.rm.cloudns.org Git - xonotic/xonotic.wiki.git/commitdiff
(Commit created by redmine exporter script from page "NewQC" version 8)
authorFlorian Paul Schmidt <mista.tapas@gmx.net>
Sun, 28 Mar 2010 04:04:00 +0000 (04:04 +0000)
committerRedmineExport <redmineexport@dev.xonotic.org>
Mon, 17 Nov 2014 17:53:33 +0000 (17:53 +0000)
NewQC.textile

index a1f194859b00b244de1541612dcef47140f4fe73..5f22d6917a249e688320e504c6535ca610b47bcd 100644 (file)
@@ -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:
 <pre>const float x = 3</pre>
+
+h1. lda17h's suggestions
+
+|_.definition|_.meaning|
+|<code>float foo(void)</code>|     function|
+|<code>float foo*(void)</code>|    function pointer|
+|<code>float .foo(void)</code>|           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.. |
+|<code>.float .foo(void)</code>|/2. member: method/function pointer returning .float. (See previous comment)|
+|<code>..float foo*(void)</code>|
+|<code>.*float foo*(void)</code>|  function pointer returning .float|
+|<code>.float *</code>|             fieldpointer|
+|<code>.float *foo*(void)</code>|   fieldpointer: method/function pointer|
+|<code>.float .foo(void)</code>|  fieldpointer: method/function pointer returning .float|