libpurple/plugins/perl/common/Connection.xs

branch
soc.2013.gobjectification
changeset 34749
08b47c055830
parent 32438
dc8991868906
child 34750
826c1611ef90
equal deleted inserted replaced
34748:02efb47ea4f4 34749:08b47c055830
6 BOOT: 6 BOOT:
7 { 7 {
8 HV *stash = gv_stashpv("Purple::Connection::State", 1); 8 HV *stash = gv_stashpv("Purple::Connection::State", 1);
9 9
10 static const constiv *civ, const_iv[] = { 10 static const constiv *civ, const_iv[] = {
11 #define const_iv(name) {#name, (IV)PURPLE_##name} 11 #define const_iv(name) {#name, (IV)PURPLE_CONNECTION_##name}
12 const_iv(DISCONNECTED), 12 const_iv(DISCONNECTED),
13 const_iv(CONNECTED), 13 const_iv(CONNECTED),
14 const_iv(CONNECTING), 14 const_iv(CONNECTING),
15 }; 15 };
16 16

mercurial