Sha256: f5e9f60609858df724c24f2effc6d78a71e18a96882e5f1e0a7be009bc88bbe8
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
// // CSnowcrash.cc // snowcrash // // Created by Ali Khoramshahi on 13/6/14. // Copyright (c) 2014 Apiary Inc. All rights reserved. // #include "csnowcrash.h" #include "snowcrash.h" int sc_c_parse(const char* source, sc_blueprint_parser_options option, sc_report_t** report, sc_blueprint_t** blueprint) { snowcrash::Report* t_report = ::new snowcrash::Report; snowcrash::Blueprint* t_blueprint = ::new snowcrash::Blueprint; int ret = snowcrash::parse(source, option, *t_report, *t_blueprint); *blueprint = AS_TYPE(sc_blueprint_t, t_blueprint); *report = AS_TYPE(sc_report_t, t_report); return ret; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redsnow-0.2.0 | ext/snowcrash/src/csnowcrash.cc |