- added message debug
git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@484 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -37,7 +37,13 @@ namespace gr {
|
||||
{
|
||||
if (pmt::is_dict(msg))
|
||||
{
|
||||
fprintf(stderr, "Is dictionary\n!");
|
||||
fprintf(stderr, "Is dictionary.\n");
|
||||
pmt::pmt_t keys = pmt::dict_keys(msg);
|
||||
for (int i=0; i < pmt::length(keys); i++)
|
||||
{
|
||||
pmt::pmt_t key = pmt::nth(i, keys);
|
||||
fprintf(stderr, "Key: %s\n!", pmt::symbol_to_string(key));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user