projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[libfirm]
/
ir
/
common
/
common.c
1
/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2
** All rights reserved.
3
**
4
** Authors: Martin Trapp, Christian Schaefer &
5
** Goetz Lindenmaier
6
**
7
** common.c:
8
*/
9
10
#include "common.h"
11
#include "irgraph.h"
12
13
/* returns the kind of the thing */
14
firm_kind
15
get_kind (void *firm_thing) {
16
return *(firm_kind *)firm_thing;
17
}