1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<fpdoc-descriptions>
<package name="rtl">
<!--
====================================================================
ctypes
====================================================================
-->
<module name="ctypes">
<short>Common C type definitions</short>
<descr>
<p>
The <file>ctypes</file> unit contains the definitions of commonly found C types.
It can be used when interfaces to C libraries need to be defined. The types
here are correct on all platforms, 32 or 64 bit.
</p>
<p>
The main advantage of using this file is to make sure that all C header
import units use the same definitions for basic C types.
</p>
<p>
The <file>h2pas</file> program can include the <file>ctypes</file> unit
automatically in the units it generates. The <var>-C</var> command-line
switch can be used for this.
</p>
</descr>
<!-- alias type Visibility: default -->
<element name="cint8">
<short>8-bit signed integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcint8">
<short>Pointer to <link id="#rtl.ctypes.cint8">cint8</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuint8">
<short>8-bit unsigned integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuint8">
<short>Pointer to <link id="#rtl.ctypes.cuint8">cuint8</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cchar">
<short>C character type (No signedness specification, 8 bit integer)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcchar">
<short>Pointer to <link id="#rtl.ctypes.cchar">cchar</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cschar">
<short>C signed character type (8 bit signed integer)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcschar">
<short>Pointer to <link id="#rtl.ctypes.cschar">cschar</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuchar">
<short>C unsigned character type (8 bit unsigned integer).</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuchar">
<short>Pointer to <link id="#rtl.ctypes.cuchar">cuchar</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cint16">
<short>16-bit signed integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcint16">
<short>Pointer to <link id="#rtl.ctypes.cint16">cint16</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuint16">
<short>16-bit unsigned integer.</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuint16">
<short>Pointer to <link id="#rtl.ctypes.cuint16">cuint16</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cshort">
<short>Short integer (16 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcshort">
<short>Pointer to <link id="#rtl.ctypes.cshort">cshort</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="csshort">
<short>Short signed integer (16 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcsshort">
<short>Pointer to <link id="#rtl.ctypes.csshort">csshort</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cushort">
<short>Short unsigned integer (16 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcushort">
<short>Pointer to <link id="#rtl.ctypes.cushort">cushort</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cint32">
<short>32-bit signed integer (commonly: int)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcint32">
<short>Pointer to <link id="#rtl.ctypes.cint32">cint32</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuint32">
<short>32-bit unsigned integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuint32">
<short>Pointer to <link id="#rtl.ctypes.cuint32">cuint32</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cint">
<short>C integer (commonly 32 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcint">
<short>Pointer to <link id="#rtl.ctypes.cint">cint</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="csint">
<short>Signed integer (commonly 32 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcsint">
<short>Pointer to <link id="#rtl.ctypes.csint">csint</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuint">
<short>Unsigned integer (commonly 32 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuint">
<short>Pointer to <link id="#rtl.ctypes.cuint">cuint</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="csigned">
<short>Signed integer (commonly 32 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcsigned">
<short>Pointer to <link id="#rtl.ctypes.csigned">csigned</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cunsigned">
<short>Unsigned integer (commonly 32 bit)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcunsigned">
<short>Pointer to <link id="#rtl.ctypes.cunsigned">cunsigned</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cint64">
<short>64-bit integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcint64">
<short>Pointer to <link id="#rtl.ctypes.cint64">cint64</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cuint64">
<short>Unsigned 64-bit integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcuint64">
<short>Pointer to <link id="#rtl.ctypes.cuint64">cuint64</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="clonglong">
<short>Long (64-bit) integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pclonglong">
<short>Pointer to <link id="#rtl.ctypes.clonglong">clonglong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cslonglong">
<short>Signed long (64-bit) integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcslonglong">
<short>Pointer to <link id="#rtl.ctypes.cslonglong">cslonglong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="culonglong">
<short>Unsigned long (64-bit) integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="pculonglong">
<short>Pointer to <link id="#rtl.ctypes.culonglong">culonglong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cbool">
<short>C boolean (longbool)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcbool">
<short>Pointer to <link id="#rtl.ctypes.cbool">cbool</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="clong">
<short>long integer (32/64 bit, depending on CPU register size)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pclong">
<short>Pointer to <link id="#rtl.ctypes.clong">clong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cslong">
<short>Signed long integer (32/64 bit, depending on CPU register size)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcslong">
<short>Pointer to <link id="#rtl.ctypes.cslong">cslong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="culong">
<short>Unsigned long integer (32/64 bit, depending on CPU register size)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pculong">
<short>Pointer to <link id="#rtl.ctypes.culong">culong</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cfloat">
<short>Single precision floating point type (single)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcfloat">
<short>Pointer to <link id="#rtl.ctypes.cfloat">cfloat</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="cdouble">
<short>Double precision floating point type (double)</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcdouble">
<short>Pointer to <link id="#rtl.ctypes.cdouble">cdouble</link> type.</short>
</element>
<!-- array type Visibility: default -->
<element name="clongdouble">
<short>Long precision floating point type (extended/double, depending on CPU)</short>
</element>
<!-- pointer type Visibility: default -->
<element name="Pclongdouble">
<short>Pointer to <link id="#rtl.ctypes.clongdouble">clongdouble</link> type.</short>
</element>
<!-- function Visibility: default -->
<element name="operator :=(clongdouble): double">
<short>Override assignment operator for <link id="#rtl.ctypes.clongdouble">clongdouble</link> type.</short>
</element>
<!-- function Visibility: default -->
<element name="operator :=(double): clongdouble">
<short>Override assignment operator for <link id="#rtl.ctypes.clongdouble">clongdouble</link> type.</short>
</element>
<!-- alias type Visibility: default -->
<element name="csize_t">
<short>Generic type to contain a size of all kinds of structures</short>
</element>
<!-- alias type Visibility: default -->
<element name="pcsize_t">
<short>Pointer to generic size type</short>
</element>
<!-- alias type Visibility: default -->
<element name="coff_t">
<short>Generic type to indicate offset</short>
</element>
<!-- function Visibility: default -->
<element name="operator :=(clongdouble): double">
<short>Implement assignment of a <var>clongdouble</var> to a <var>double</var> type.</short>
<descr>
This operator allows to assign a <var>clongdouble</var> to a <var>Double</var> type.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator :=(double): clongdouble">
<short>Implement assignment of a <var>double</var> to a <var>clongdouble</var> type.</short>
<descr>
This operator allows to assign a <var>double</var> to a <var>clongdouble</var> type.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator +(Double, clongdouble): Double">
<short>Implement addition of <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator allows to add <var>double</var> and <var>clongdouble</var> typed values.
The result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator +(clongdouble, Double): Double">
<short></short>
<descr>
This operator allows to add <var>clongdouble</var> and <var>double</var> typed values.
The result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator -(Double, clongdouble): Double">
<short>Implement subtraction of <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator allows to subtract a <var>clongdouble</var> typed value from a <var>double</var> typed value.
The result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator -(clongdouble, Double): Double">
<short>Implement subtraction of <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator allows to subtract a <var>double</var> typed value from a <var>clongdouble</var> typed value.
The result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator *(Double, clongdouble): Double">
<short>Implement multiplication of <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator allows to multiply a <var>clongdouble</var> typed value with a <var>double</var> typed value.
The result is a <var>double</var> typed value.
</descr>
<errors>
</errors>
<seealso>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="operator *(clongdouble, Double): Double">
<short>Implement multiplication of <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator allows to multiply a <var>double</var> typed value with a <var>clongdouble</var> typed value.
the result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator /(Double, clongdouble): Double">
<short>Implement division of <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator allows to divide a <var>double</var> typed value by a <var>clongdouble</var> typed value.
the result is a <var>double</var> typed value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator /(clongdouble, Double): Double">
<short>Implement division of <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator allows to divide a <var>clongdouble</var> typed value by a <var>double</var> typed value.
the result is a <var>double</var> typed value.
</descr>
<errors>
</errors>
<seealso>
</seealso>
</element>
<!-- function Visibility: default -->
<element name="operator =(Double, clongdouble): Boolean">
<short>Implement equality of <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator compares the values of a <var>clongdouble</var> typed value
and a <var>double</var> typed value, and returns <var>True</var> if the
values are equal (only double precision is used).
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator =(clongdouble, Double): Boolean">
<short>Implement equality of <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator compares the values of a <var>double</var> typed value
and a <var>clongdouble</var> typed value, and returns <var>True</var> if the
values are equal (only double precision is used).
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator <(Double, clongdouble): Boolean">
<short>Implement less than comparison between <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator compares the values of a <var>double</var> typed value
and a <var>clongdouble</var> typed value, and returns <var>True</var> if the
double value is less than the clongdouble value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator <(clongdouble, Double): Boolean">
<short>Implement less than comparison between <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator compares the values of a <var>clongdouble</var> typed value
and a <var>double</var> typed value, and returns <var>True</var> if the
clongdouble value is less than the double value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator >(Double, clongdouble): Boolean">
<short>Implement greater than comparison between <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator compares the values of a <var>double</var> typed value
and a <var>clongdouble</var> typed value, and returns <var>True</var> if the
double value is greater than the clongdouble value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator >(clongdouble, Double): Boolean">
<short>Implement greater than comparison between <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator compares the values of a <var>clongdouble</var> typed value
and a <var>double</var> typed value, and returns <var>True</var> if the
clongdouble value is greater than the double value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator >=(Double, clongdouble): Boolean">
<short>Implement greater than or equal comparison between <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator compares the values of a <var>double</var> typed value
and a <var>clongdouble</var> typed value, and returns <var>True</var> if the
double value is greater than or equal to the clongdouble value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator >=(clongdouble, Double): Boolean">
<short>Implement greater than or equal comparison between <var>double</var> and <var>clongdouble</var>.</short>
<descr>
This operator compares the values of a <var>clongdouble</var> typed value
and a <var>double</var> typed value, and returns <var>True</var> if the
clongdouble value is greater than or equal to the double value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator <=(Double, clongdouble): Boolean">
<short>Implement less than or equal comparison between <var>clongdouble</var> and <var>double</var>.</short>
<descr>
This operator compares the values of a <var>double</var> typed value
and a <var>clongdouble</var> typed value, and returns <var>True</var> if the
double value is less than or equal to the clongdouble value.
</descr>
</element>
<!-- function Visibility: default -->
<element name="operator <=(clongdouble, Double): Boolean">
<short>Implement greater than or equal comparison between <var>double</var>
and <var>clongdouble</var>.</short>
<descr>
This operator compares the values of a <var>clongdouble</var> typed value
and a <var>double</var> typed value, and returns <var>True</var> if the
clongdouble value is less than or equal to the double value.
</descr>
</element>
<!-- alias type Visibility: default -->
<element name="qword">
<short>QWord (unsigned 64-bit integer)</short>
</element>
<!-- alias type Visibility: default -->
<element name="ptruint">
<short>32-bit unsigned integer</short>
</element>
<!-- pointer type Visibility: default -->
<element name="pptruint">
<short>Pointer to 32-bit unsigned integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="u_long">
<short>Unsigned long (64-bit) integer</short>
</element>
<!-- alias type Visibility: default -->
<element name="u_short">
<short>Unsigned short (16-bit) integer</short>
</element>
</module> <!-- ctypes -->
</package>
</fpdoc-descriptions>
|