Changes between Version 67 and Version 68 of IR2
- Timestamp:
- 05/04/21 07:48:15 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IR2
v67 v68 188 188 === Notes === 189 189 190 * For function calls and spawns, the first expression shall have type pointer-to-function-.... The function pointed to will be the one called or spawned.That function must be a system or defined function (not an abstract function).190 * For function calls and spawns, the first expression shall have a functional type. That function must be a system or defined function (not an abstract function). 191 191 * The first expression following `$alloc` has type `$heap*`. It is a pointer to the heap that will be modified by allocating the new memory. The second expression has type `$int` and is the number of elements being allocated. This is followed by the element type. The function returns a pointer to the first element of an array, similar to C's malloc. It is deallocated using function`$free`. 192 192
