projects
/
ohcount
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial Revision
[ohcount]
/
ext
/
ohcount_native
/
state.h
1
/*
2
* state.h
3
* Ohcount
4
*
5
* Created by Jason Allen on 6/22/06.
6
* Copyright 2006 Ohloh. All rights reserved.
7
*
8
*/
9
10
#ifndef __state_h__
11
#define __state_h__
12
13
// required
14
#include "transition.h"
15
16
enum Semantic {
17
semantic_code,
18
semantic_comment,
19
semantic_blank,
20
semantic_null
21
};
22
23
typedef struct {
24
char *name;
25
char *language;
26
enum Semantic semantic;
27
} State;
28
29
bool state_trumps_language(State *the_state, State *other_state);
30
void state_test(void);
31
32
33
#endif