fix a bug in sample code

This commit is contained in:
Yuichi Nishiwaki 2014-06-21 12:05:48 +09:00
parent fa1da645c8
commit 17520df61c
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ When you use dynamic memory allocation inside C APIs, you must be caseful about
f = create_foo();
data = pic_data_alloc(pic, &f, md);
data = pic_data_alloc(pic, &foo_type, md);
return pic_obj_value(data);
}