Mercurial > projects > qtd
diff cpp/qt_qtd/qtd_core.cpp @ 371:12f60887ed15
add elasticnodes example and necessary changes to the library.
author | Eldar Insafutdinov |
---|---|
date | Wed, 07 Jul 2010 22:54:12 +0100 |
parents | 9784459f0750 |
children | 1f189d0ceab4 |
line wrap: on
line diff
--- a/cpp/qt_qtd/qtd_core.cpp Sun Jul 04 14:17:49 2010 +0100 +++ b/cpp/qt_qtd/qtd_core.cpp Wed Jul 07 22:54:12 2010 +0100 @@ -59,6 +59,16 @@ return qUnregisterResourceData(version, tree, name, data); } +QTD_EXTERN QTD_DLL_PUBLIC int qtd_qrand() +{ + return qrand(); +} + +QTD_EXTERN QTD_DLL_PUBLIC void qtd_qsrand(uint seed) +{ + qsrand(seed); +} + // // QObjectLink implementation //