JademusSreg

About types from natives.galaxy

May 14th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.92 KB | None | 0 0
  1. //--------------------------------------------------------------------------------------------------
  2. // About Types
  3. //--------------------------------------------------------------------------------------------------
  4. //
  5. // -- Complex types and automatic deletion --
  6. //
  7. // Many native types represent "complex" objects (i.e. larger than 4 bytes).  The script language
  8. // automatically keeps track of these objects and deletes them from memory when they are no longer
  9. // used (that is, when nothing in the script references them any longer).  The types which benefit
  10. // from automatic deletion are:
  11. //
  12. //      abilcmd, bank, camerainfo, marker, order, playergroup, point,
  13. //      region, soundlink, string, text, timer, transmissionsource, unitfilter, unitgroup, unitref,
  14. //      waveinfo, wavetarget
  15. //
  16. // Other object types must be explicitly destroyed with the appropriate native function when you
  17. // are done using them.
Advertisement
Add Comment
Please, Sign In to add comment