зеркало из https://github.com/mozilla/pjs.git
27 строки
545 B
C
27 строки
545 B
C
/*
|
|
gc_fragments.h
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifndef __FILES__
|
|
#include <Files.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void GC_register_fragment(char* dataStart, char* dataEnd,
|
|
char* codeStart, char* codeEnd,
|
|
const FSSpec* fragmentSpec);
|
|
|
|
void GC_unregister_fragment(char* dataStart, char* dataEnd,
|
|
char* codeStart, char* codeEnd);
|
|
|
|
int GC_address_to_source(char* codeAddr, char fileName[256], UInt32* fileOffset);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|