svenbarth
|
b6fa83fe92
+ add TValue.GetArrayLength, TValue.GetArrayElement and TValue.SetArrayElement
|
8 years ago |
svenbarth
|
9c0423b3a4
+ add TValue.AsInterface to retrieve a COM style interface again
|
8 years ago |
svenbarth
|
e2458c9803
+ add support for making a TValue out of a COM interface
|
8 years ago |
svenbarth
|
40f8b4a77c
+ since I accidentally committed the assignment operator overload implementations add their declarations as well...
|
8 years ago |
svenbarth
|
66725ccfc7
+ add TValue.GetReferenceToRawData
|
8 years ago |
svenbarth
|
cd73a46313
+ add TValue.DataSize property
|
8 years ago |
svenbarth
|
ceb982930c
* even though Delphi defines GetDataSize as LongInt (or more precisely Integer) we use SizeInt as that is what we allow for arrays, strings and memory allocations in general as well
|
8 years ago |
svenbarth
|
95523157e5
* rework TValueDataIntImpl to work more as it does in Delphi (especially important for GetReferenceToRawData); note: the class avoids the use of an allocation in case it's a managed pointer type
|
8 years ago |
svenbarth
|
1fe6404760
* a touch more inlining
|
8 years ago |
svenbarth
|
8aa90d0967
* tkQWord is considered an ordinal as well
|
8 years ago |
svenbarth
|
e60e055b8b
* handle tkClassRef
|
8 years ago |
svenbarth
|
89f03f4fdf
* adjust casing so that Lazarus keeps from changing it
|
8 years ago |
svenbarth
|
89e47e098a
* better handling of floating point types
|
8 years ago |
svenbarth
|
9a7d26e349
* correctly handle ordinals of different sizes
|
8 years ago |
svenbarth
|
56459594c0
* more complete TValueData record
|
8 years ago |
svenbarth
|
ee4c92af6e
* change TValue from object to record as there might be record helpers for TValue out there
|
8 years ago |
svenbarth
|
8ffc035a86
* inline for simple methods
|
8 years ago |
pierre
|
9ca8bd41ca
Guard critical section procedure calls with ifdef FPC_HAS_FEATURE_THREADING
|
8 years ago |
maciej-izak
|
ffd6465563
* rtti.pp: Update IsManaged function for management operators. Record without managed fields but with management operators is treated as managed record. tests.rtti.pas update.
|
8 years ago |
maciej-izak
|
b38243c5cb
Improvement for IsManaged in RTTI module: ShortString is not managed type. Test corrected.
|
8 years ago |
maciej-izak
|
a4952071e3
Corrected function IsManaged for RTTI module. Return true if is passed managed type (finally it is possible thanks to r35180 and mantis 31249).
|
8 years ago |
florian
|
be9f055c33
* fix rtti unit for targets with FPC_REQUIRES_PROPER_ALIGNMENT set
|
8 years ago |
svenbarth
|
17154fedaa
* move rtti unit from common directory to inc directory as the former is basically for non-Windows files
|
8 years ago |