File: api.h

package info (click to toggle)
f2j 0.8.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 3,152 kB
  • sloc: ansic: 18,992; java: 3,987; yacc: 3,804; sh: 153; makefile: 149
file content (43 lines) | stat: -rw-r--r-- 724 bytes parent folder | download | duplicates (5)
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
#ifndef _API_H
#define _API_H

#include<stdio.h>
#include<stdlib.h>
#include<stdarg.h>
#include<string.h>
#include<ctype.h>
#include<sys/stat.h>
#include<errno.h>

#ifdef _WIN32
#include<dir.h>
#else
#include<unistd.h>
#endif

#ifdef _WIN32
#define BC_FILE_DELIM "\\"
#else
#define BC_FILE_DELIM "/"
#endif

#include "bytecode.h"

static JVM_ATTRIBUTE
  *find_attribute(JVM_CLASS *, Dlist, char *),
  *new_code_attr(JVM_CLASS *);

static JVM_CODE_GRAPH_NODE
  *bytecode0(JVM_METHOD *, JVM_OPCODE),
  *bytecode1(JVM_METHOD *, JVM_OPCODE, u4);

static void
  updateMaxLocals(JVM_METHOD *, unsigned int, JVM_DATA_TYPE);

static int
  num_locals_in_descriptor(char *);

static char
  *char_substitute(char *, int, int);

#endif