aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-02-21 16:31:28 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2001-02-21 16:31:28 +0800
commit2f099e392d0dfae27282b5d87aa3c5d2acea22de (patch)
tree2a0ab80ea8d3f599b37b1921c368bd6527048789 /e-util
parent0f2a13586b155c0e97eab0b1bc9ab59e5587555d (diff)
downloadgsoc2013-evolution-2f099e392d0dfae27282b5d87aa3c5d2acea22de.tar.gz
gsoc2013-evolution-2f099e392d0dfae27282b5d87aa3c5d2acea22de.tar.zst
gsoc2013-evolution-2f099e392d0dfae27282b5d87aa3c5d2acea22de.zip
implement.
2001-02-21 Michael Meeks <michael@ximian.com> * gal/util/e-util.h (E_MAKE_X_TYPE): implement. svn path=/trunk/; revision=8315
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 4e93639e9c..77d056b051 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -30,6 +30,29 @@ GtkType l##_get_type(void)\
return type;\
}
+
+#define E_MAKE_X_TYPE(l,str,t,ci,i,parent,poa_init,offset) \
+GtkType l##_get_type(void)\
+{\
+ static GtkType type = 0;\
+ if (!type){\
+ GtkTypeInfo info = {\
+ str,\
+ sizeof (t),\
+ sizeof (t##Class),\
+ (GtkClassInitFunc) ci,\
+ (GtkObjectInitFunc) i,\
+ NULL, /* reserved 1 */\
+ NULL, /* reserved 2 */\
+ (GtkClassInitFunc) NULL\
+ };\
+ type = bonobo_x_type_unique (\
+ parent, poa_init, NULL,\
+ offset, &info);\
+ }\
+ return type;\
+}
+
typedef enum {
E_FOCUS_NONE,
E_FOCUS_CURRENT,
cgit/dexon/commit/tests?h=vm-skymizer&id=9619a610248e9630968ba1d9be8e214b645c9c55'>all: gofmt -w -s (#15419)ferhat elmas2017-11-082-10/+10 * tests: add ethash difficulty tests (#15191)Martin Holst Swende2017-09-276-8/+234 * params: Updated finalized gascosts for ECMUL/MODEXP (#15135)Martin Holst Swende2017-09-143-3/+9 * consensus, core, params: rebrand Metro to ByzantiumPéter Szilágyi2017-09-142-19/+19 * cmd/evm: adds ability to run individual state test file (#14998)Martin Holst Swende2017-09-052-7/+8 * core/vm: Make MaxCodesize non-retroactive (#15072)Martin Holst Swende2017-09-041-2/+0 * core, tests: implement Metropolis EIP 684Péter Szilágyi2017-08-253-3/+0 * Merge pull request #15028 from karalabe/metropolis-iceagePéter Szilágyi2017-08-255-116/+26 |\ | * consensus, core, tests: implement Metropolis EIP 649Péter Szilágyi2017-08-245-116/+26 * | core/state: revert metro suicide map addition (#15024)Péter Szilágyi2017-08-241-1/+0 |/ * Merge pull request #15014 from rjl493456442/metropolis-eip658Péter Szilágyi2017-08-233-4/+5 |\ | * tests: pull in new test suite, enable most block testsPéter Szilágyi2017-08-222-3/+4 | * core: implement Metropolis EIP 658, receipt status byterjl4934564422017-08-221-1/+1 * | tests: enable Byzantium state tests for CIPéter Szilágyi2017-08-221-2/+2 |/ * Merge pull request #14983 from karalabe/metropolis-revertPéter Szilágyi2017-08-211-0/+3 |\ | * tests: skip the bad tests from colliding account touchesPéter Szilágyi2017-08-171-0/+3 * | core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-2/+1 |/ * tests: pull in latest tests from upstreamPéter Szilágyi2017-08-161-0/+0 * tests: update tests, use blockchain test "network" fieldFelix Lange2017-08-116-84/+110 * tests: update tests and implement general state tests (#14734)Felix Lange2017-07-11895-2505399/+1466 * params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-042-25/+25 * core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-273-41/+18 * accounts/keystore, crypto: enforce 256 bit keys on importPéter Szilágyi2017-05-231-3/+2 * consensus, core: drop all the legacy custom core error typesPéter Szilágyi2017-04-061-1/+1 * core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-2/+2 * all: swap out the C++ ethash to the pure Go one (mining todo)Péter Szilágyi2017-03-091-2/+2 * all: unify big.Int zero checks, use common/math in more places (#3716)Felix Lange2017-02-281-1/+1 * all: disable log message colors outside of gethFelix Lange2017-02-271-1/+1 * common: move big integer math to common/math (#3699)Felix Lange2017-02-274-18/+22 * all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-235-16/+16 * core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-233-18/+19 * tests: cleanup tester blockchain after test run (#3692)Péter Szilágyi2017-02-201-0/+1 * params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-143-5/+5 * Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-134-6/+6 * params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-023-5/+5 * cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-1/+2 * tests: unskip testJeffrey Wilcke2017-01-121-1/+1 * all: fix spelling errorsPéter Szilágyi2017-01-074-6/+6 * all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-074-10/+4 * core/vm: move Log to core/typesFelix Lange2017-01-063-7/+8 * core/vm: improved EVM run loop & instruction calling (#3378)Jeffrey Wilcke2017-01-055-20/+19 * core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-063-164/+63 * tests: update from github.com/ethereum/tests @ f21c49dc816eFelix Lange2016-11-2531-1065/+1799 * core, core/state: fixed consensus issue added touch revertJeffrey Wilcke2016-11-253-29/+119 * core/types: turn off nonce checking for Call messagesZsolt Felfoldi2016-11-141-1/+1 * tests: updatedJeffrey Wilcke2016-11-14155-56656/+55466 * core/types, params: EIP#155Jeffrey Wilcke2016-11-134-34/+12 * tests: added new EIP158 testsJeffrey Wilcke2016-11-13731-1158/+84508 * core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-136-204/+215 * core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-1527-42/+76970 * Merge pull request #3094 from fjl/tests-updateFelix Lange2016-10-06745-65640/+188442 |\ | * tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1Felix Lange2016-10-06745-65640/+188442 * | core/state: implement reverts by journaling all changesFelix Lange2016-10-063-48/+26 |/ * cmd, core, internal, light, tests: avoid hashing the code in the VMPéter Szilágyi2016-10-012-3/+5 * core/state: track all accounts in canon stateFelix Lange2016-09-263-15/+14 * core/vm: Refactor tracing to make Tracer the main interfaceNick Johnson2016-08-221-10/+0 * cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-152-238/+7012 * core, params, tests: add DAO hard-fork balance movesPéter Szilágyi2016-07-155-35/+1870 * core: added CheckNonce() to Message interfacezsfelfoldi2016-07-111-0/+1 * Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"Péter Szilágyi2016-06-291-1/+0 * test, cmd/evm, core, core/vm: illegal code hash implementationJeffrey Wilcke2016-06-221-0/+1 * core: improved chainDb using sequential keyszsfelfoldi2016-06-071-2/+2 * eth: enable bad block reportsFelix Lange2016-05-251-7/+0 * all: fix go vet warningsFelix Lange2016-04-152-2/+2 * all: update license informationFelix Lange2016-04-154-4/+4 * tests: remove eth, node, accounts dependenciesFelix Lange2016-04-121-42/+17 * core: added basic chain configurationJeffrey Wilcke2016-04-017-189/+221 * core: Added EVM configuration optionsJeffrey Wilcke2016-03-242-4/+8 * core, core/vm, tests: changed the initialisation behaviour of the EVMJeffrey Wilcke2016-03-231-1/+7 * Merge pull request #2260 from karalabe/ethash-cache-fixesPéter Szilágyi2016-02-241-0/+1 |\ | * Godeps, eth, tests: update ethash, used shared for testingPéter Szilágyi2016-02-241-0/+1 * | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-221-1/+1 |/ * core: Added new TD strategy which mitigate the risk for selfish miningJeffrey Wilcke2016-02-181-0/+3 * core, core/vm, crypto: fixes for homesteadJeffrey Wilcke2016-02-181-0/+9 * tests: updated homestead testsJeffrey Wilcke2016-02-18800-11178/+181716 * parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-1827-9136/+23458 * cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-15/+8 * Update common test filesGustav Simonsson2015-11-203-39/+865 * tests: fix data race in bad-block-report disabling during testsPéter Szilágyi2015-11-051-2/+5 * cmd/utils, crypto: add --lightkdf flag for lighter KDFDrake Burroughs2015-10-291-1/+1 * tests: update JSON files, add new wrappersGustav Simonsson2015-10-2326-4809/+21810 * core, tests: get_hash fixJeffrey Wilcke2015-10-211-7/+5 * core, core/state: move gas tracking out of core/stateFelix Lange2015-10-171-5/+3 * core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-16