ruby/module/openstudio_rb.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "../bindings/InitRubyBindings.hpp" | ||
| 7 | #include <RubyAPI.hpp> | ||
| 8 | #include <iostream> | ||
| 9 | #include <ruby.h> | ||
| 10 | |||
| 11 | extern "C" | ||
| 12 | { | ||
| 13 | |||
| 14 | 117 | RUBY_API void Init_openstudio(void) { | |
| 15 | |||
| 16 | 117 | openstudio::ruby::initRubyBindings(); | |
| 17 | 117 | } | |
| 18 | } | ||
| 19 |