source:
Include/system/DumpMemoryLeaks.ab@
120
| Last change on this file since 120 was 60, checked in by , 19 years ago | |
|---|---|
| File size: 367 bytes | |
| Rev | Line | |
|---|---|---|
| [60] | 1 | |
| 2 | /* | |
| 3 | メモリリーク検出を利用するには、下記の定数をソースコードの先頭でdefineする必要がある。 | |
| 4 | #define CHECK_MEMORY_LEAKS | |
| 5 | */ | |
| 6 | ||
| 7 | Class _System_CheckMemoryLeaks | |
| 8 | End Class | |
| 9 | ||
| 10 | 'メモリが確保されたときに呼び出される | |
| 11 | Sub _System_MemoryAllocate() | |
| 12 | End Sub | |
| 13 | ||
| 14 | 'メモリが開放されたときに呼び出される | |
| 15 | Sub _System_MemoryDeallocate() | |
| 16 | End Sub | |
| 17 | ||
| 18 | Sub DumpMemoryLeaks() | |
| 19 | End Sub |
Note:
See TracBrowser
for help on using the repository browser.
