Skip to content

Commit

Permalink
mrb: expand abbreviation
Browse files Browse the repository at this point in the history
    obj ->
    object
  • Loading branch information
kou committed Dec 28, 2014
1 parent 5d2f47e commit aeefd6c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/ctx_impl_mrb.c
Expand Up @@ -29,7 +29,7 @@
#include "mrb/mrb_logger.h"
#include "mrb/mrb_void.h"
#include "mrb/mrb_bulk.h"
#include "mrb/mrb_obj.h"
#include "mrb/mrb_object.h"
#include "mrb/mrb_database.h"
#include "mrb/mrb_table.h"
#include "mrb/mrb_patricia_trie.h"
Expand Down Expand Up @@ -99,7 +99,7 @@ grn_ctx_impl_mrb_init_bindings(grn_ctx *ctx)
grn_mrb_logger_init(ctx);
grn_mrb_void_init(ctx);
grn_mrb_bulk_init(ctx);
grn_mrb_obj_init(ctx);
grn_mrb_object_init(ctx);
grn_mrb_database_init(ctx);
grn_mrb_table_init(ctx);
grn_mrb_patricia_trie_init(ctx);
Expand Down
4 changes: 2 additions & 2 deletions lib/mrb/mrb_obj.c → lib/mrb/mrb_object.c
Expand Up @@ -26,7 +26,7 @@
#include <mruby/data.h>

#include "../grn_mrb.h"
#include "mrb_obj.h"
#include "mrb_object.h"
#include "mrb_converter.h"

static mrb_value
Expand Down Expand Up @@ -129,7 +129,7 @@ object_close(mrb_state *mrb, mrb_value self)
}

void
grn_mrb_obj_init(grn_ctx *ctx)
grn_mrb_object_init(grn_ctx *ctx)
{
grn_mrb_data *data = &(ctx->impl->mrb);
mrb_state *mrb = data->state;
Expand Down
10 changes: 5 additions & 5 deletions lib/mrb/mrb_obj.h → lib/mrb/mrb_object.h
@@ -1,6 +1,6 @@
/* -*- c-basic-offset: 2 -*- */
/*
Copyright(C) 2013 Brazil
Copyright(C) 2013-2014 Brazil
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand All @@ -16,19 +16,19 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef GRN_MRB_OBJ_H
#define GRN_MRB_OBJ_H
#ifndef GRN_MRB_OBJECT_H
#define GRN_MRB_OBJECT_H

#include "../grn_ctx.h"

#ifdef __cplusplus
extern "C" {
#endif

void grn_mrb_obj_init(grn_ctx *ctx);
void grn_mrb_object_init(grn_ctx *ctx);

#ifdef __cplusplus
}
#endif

#endif /* GRN_MRB_OBJ_H */
#endif /* GRN_MRB_OBJECT_H */
4 changes: 2 additions & 2 deletions lib/mrb/sources.am
Expand Up @@ -23,8 +23,8 @@ libgrnmrb_la_SOURCES = \
mrb_index_column.h \
mrb_logger.c \
mrb_logger.h \
mrb_obj.c \
mrb_obj.h \
mrb_object.c \
mrb_object.h \
mrb_operator.c \
mrb_operator.h \
mrb_patricia_trie.c \
Expand Down

0 comments on commit aeefd6c

Please sign in to comment.