summaryrefslogtreecommitdiff
path: root/func.h
blob: 56066a4763c172e0388e25f83a8927462989a97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef func_h
#define func_h

#include "types.h"

/*
** Header para funcoes.
*/
typedef struct TFunc
{
  struct TFunc	*next;
  char		marked;
  int		size;
  Byte		*code;
  int		lineDefined;
  char		*name1;  /* function or method name (or null if main) */
  char		*name2;  /* object name (or null if not method) */
  char		*fileName;
} TFunc;

Long luaI_funccollector (void);
void luaI_insertfunction (TFunc *f);

#endif