mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 22:03:26 +00:00
26 lines
626 B
C
26 lines
626 B
C
/*
|
|
** Copyright (C) 1997 The University of Melbourne.
|
|
** This file may only be copied under the terms of the GNU Library General
|
|
** Public License - see the file COPYING.LIB in the Mercury distribution.
|
|
**
|
|
** $Id: disasm.h,v 1.8 1997-07-27 14:59:22 fjh Exp $
|
|
*/
|
|
|
|
#ifndef MB_DISASM_H
|
|
#define MB_DISASM_H
|
|
|
|
#include <stdio.h> /* for FILE */
|
|
|
|
|
|
/*
|
|
* Disassemble a Mercury bytecode file.
|
|
*
|
|
* `fp' points to the beginning of a Mercury bytecode file.
|
|
* The disassembler output is directed to stdout.
|
|
* XXX: Maybe we should be able to specify the output file pointer?
|
|
*/
|
|
void
|
|
MB_disassemble(FILE* fp);
|
|
|
|
#endif /* MB_DISASM_H */
|