From 17520df61c63626269337d70bba4c2a085f922be Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sat, 21 Jun 2014 12:05:48 +0900 Subject: [PATCH] fix a bug in sample code --- docs/capi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/capi.rst b/docs/capi.rst index 3f932938..f25a7f05 100644 --- a/docs/capi.rst +++ b/docs/capi.rst @@ -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); }