File: shared.as

package info (click to toggle)
angelscript 2.38.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,736 kB
  • sloc: cpp: 77,114; asm: 2,017; makefile: 666; xml: 253; javascript: 42; ansic: 26; python: 22; sh: 7
file content (7 lines) | stat: -rw-r--r-- 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
// The 'shared' keyword make it possible to send 
// objects of the type between different modules. 
shared class CMessage
{
  CMessage(const string &in t) { txt = t; }
  string txt;
}