File: shared.as

package info (click to toggle)
angelscript 2.35.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,388 kB
  • sloc: cpp: 71,969; asm: 1,558; makefile: 665; xml: 214; javascript: 42; python: 22; ansic: 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;
}