The example in the managed types documentation can be simplified, since the FPC already contains the desired function
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
-
Reporter name: Serge Anvarov
Original Reporter info from Mantis: SergeAnvarov @SergeAnvarov
- Reporter name: Serge Anvarov
Description:
There is no need to describe the SRefCount function and cast the parameter to a pointer everywhere, because there is a built-in StringRefCount function.
Additional information:
Reference guide for Free Pascal, version 3.2.2
Mantis conversion info:
- Mantis ID: 38967
- Version: 3.2.1
- Fixed in version: 3.3.1
- Fixed in revision: 1857 (#e0b9b81b)
- Target version: 4.0.0