mirror of
https://github.com/janet-lang/janet
synced 2024-11-10 10:49:54 +00:00
6677dff337
or reason for that name, but its available and it irked me to see non prefixed c code for something that is supposed to be emeddable.
18 lines
438 B
C
18 lines
438 B
C
#ifndef disasm_h_INCLUDED
|
|
#define disasm_h_INCLUDED
|
|
|
|
#include "datatypes.h"
|
|
#include <stdio.h>
|
|
|
|
/* Print disassembly for a given funciton */
|
|
void gst_dasm(FILE * out, uint16_t * byteCode, uint32_t len);
|
|
|
|
/* Print the disassembly for a function definition */
|
|
void gst_dasm_funcdef(FILE * out, GstFuncDef * def);
|
|
|
|
/* Print the disassembly for a function */
|
|
void gst_dasm_function(FILE * out, GstFunction * f);
|
|
|
|
#endif // disasm_h_INCLUDED
|
|
|