RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
00001 /* auction_js.h -*- C++ -*- 00002 Jeremy Barnes, 6 April 2011 00003 Copyright (c) 2011 Datacratic. All rights reserved. 00004 00005 Javascript bindings for the Auction. 00006 */ 00007 00008 #pragma once 00009 00010 #include "rtb_js.h" 00011 #include "rtbkit/common/auction.h" 00012 00013 namespace Datacratic { 00014 namespace JS { 00015 00016 std::shared_ptr<RTBKIT::Auction> 00017 from_js(const JSValue & value, std::shared_ptr<RTBKIT::Auction> *); 00018 00019 RTBKIT::Auction * 00020 from_js(const JSValue & value, RTBKIT::Auction **); 00021 00022 00023 } // namespace JS 00024 } // namespace Datacratic