summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-31 09:11:38 -0500
committermidipix <writeonce@midipix.org>2016-01-01 22:50:25 -0500
commitf06b53432ee339c1e123e7432f7c91331a3190a7 (patch)
treef64f26b0d720eb26ab4a2c6c380de28ae439d149
parent7a622c84067e5298d9f9a3f3d78bc3da04896c96 (diff)
downloadapimagic-f06b53432ee339c1e123e7432f7c91331a3190a7.tar.bz2
apimagic-f06b53432ee339c1e123e7432f7c91331a3190a7.tar.xz
whitespace meditation.
-rw-r--r--include/apimagic/apimagic.h1
-rw-r--r--src/driver/amgc_unit_ctx.c15
2 files changed, 8 insertions, 8 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index f6c1767..81d8036 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -134,6 +134,7 @@ amgc_api int amgc_lang_std_from_string (const char * std);
/* low-level api */
amgc_api int amgc_init_unit_meta (const struct amgc_unit_ctx *, struct amgc_unit_meta *);
+
amgc_api int amgc_get_unit_entities (const struct amgc_unit_ctx *, struct amgc_unit_meta *, struct amgc_unit_entities **);
amgc_api void amgc_free_unit_entities (struct amgc_unit_entities *);
diff --git a/src/driver/amgc_unit_ctx.c b/src/driver/amgc_unit_ctx.c
index 334ee32..eb65898 100644
--- a/src/driver/amgc_unit_ctx.c
+++ b/src/driver/amgc_unit_ctx.c
@@ -152,14 +152,13 @@ int amgc_get_unit_ctx(
memcpy(&ctx->cctx,dctx->cctx,
sizeof(ctx->cctx));
- ctx->path = path;
-
- ctx->uctx.path = &ctx->path;
- ctx->uctx.map = &ctx->map;
- ctx->uctx.cctx = &ctx->cctx;
- ctx->uctx.meta = &ctx->meta;
- ctx->uctx.entities = ctx->entities;
- ctx->uctx.ccunit= &ctx->ccunit;
+ ctx->path = path;
+ ctx->uctx.path = &ctx->path;
+ ctx->uctx.map = &ctx->map;
+ ctx->uctx.cctx = &ctx->cctx;
+ ctx->uctx.meta = &ctx->meta;
+ ctx->uctx.entities = ctx->entities;
+ ctx->uctx.ccunit = &ctx->ccunit;
if (amgc_get_unit_entities(&ctx->uctx,&ctx->meta,&ctx->entities))
return amgc_free_unit_ctx_impl(ctx,-1);