record_new -> make_record

This commit is contained in:
Yuichi Nishiwaki 2014-09-12 19:49:58 +09:00
parent 46dec7bc7e
commit 1d03b07862
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ struct pic_record {
#define pic_record_p(v) (pic_type(v) == PIC_TT_RECORD)
#define pic_record_ptr(v) ((struct pic_record *)pic_ptr(v))
struct pic_record *pic_record_new(pic_state *, pic_value);
struct pic_record *pic_make_record(pic_state *, pic_value);
pic_value pic_record_type(pic_state *, struct pic_record *);
pic_value pic_record_ref(pic_state *, struct pic_record *, pic_sym);

View File

@ -6,7 +6,7 @@
#include "picrin/record.h"
struct pic_record *
pic_record_new(pic_state *pic, pic_value rectype)
pic_make_record(pic_state *pic, pic_value rectype)
{
struct pic_record *rec;
@ -52,7 +52,7 @@ pic_record_make_record(pic_state *pic)
pic_get_args(pic, "o", &rectype);
rec = pic_record_new(pic, rectype);
rec = pic_make_record(pic, rectype);
return pic_obj_value(rec);
}