| 59 | static int CObject_constructCount = 0; |
| 60 | static int CObject_destructCount = 0; |
| 61 | class CObject |
| 62 | { |
| 63 | public: |
| 64 | CObject() |
| 65 | { |
| 66 | val = ('C' | ('O'<<8) | ('b'<<16) | ('j'<<24)); |
| 67 | mem = new int[1]; |
| 68 | *mem = ('M' | ('e'<<8) | ('m'<<16) | (' '<<24)); |
| 69 | //PRINTF("C: %x\n", this); |
| 70 | CObject_constructCount++; |
| 71 | } |
| 72 | ~CObject() |
| 73 | { |
| 74 | delete[] mem; |
| 75 | //PRINTF("D: %x\n", this); |
| 76 | CObject_destructCount++; |
| 77 | } |
| 78 | int val; |
| 79 | int *mem; |
| 80 | }; |
| 81 | |
| 82 | void Assign_gen(asIScriptGeneric *) |
| 83 | { |
no outgoing calls