/
disassemble.h
43 lines (34 loc) · 1.27 KB
/
disassemble.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* embed.h
* Copyright (C) 2001-2010, Parrot Foundation.
* Overview:
* disassembly-related utilities
*/
#ifndef PARROT_DISASSEMBLE_H_GUARD
#define PARROT_DISASSEMBLE_H_GUARD
#include "parrot/core_types.h" /* types used */
#include "parrot/compiler.h" /* compiler capabilities */
#include "parrot/config.h" /* PARROT_VERSION... */
#include "parrot/interpreter.h" /* give us the interpreter flags */
#include "parrot/warnings.h" /* give us the warnings flags */
typedef enum {
enum_DIS_BARE = 1,
enum_DIS_HEADER = 2
} Parrot_disassemble_options;
/* HEADERIZER BEGIN: src/disassemble.c */
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
PARROT_EXPORT
void Parrot_disassemble(PARROT_INTERP,
ARGIN_NULLOK(const char *outfile),
Parrot_disassemble_options options)
__attribute__nonnull__(1);
#define ASSERT_ARGS_Parrot_disassemble __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: src/disassemble.c */
#endif /* PARROT_DISASSEMBLE_H_GUARD */
/*
* Local variables:
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
*/