File tree Expand file tree Collapse file tree
lib/ruby-bindgen/visitors/rice Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33#include < rice /rice.hpp>
44
55extern "C"
6- void <%= init_name %> ();
6+ #if defined(_WIN32)
7+ __declspec(dllexport)
8+ #else
9+ __attribute__((visibility("default")))
10+ #endif
11+ void <%= init_name %> ();
Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ def visit_start
130130 def visit_end
131131 create_rice_include_header
132132 create_project_files
133- create_def_file
134133 end
135134
136135 # Returns the path to the Rice include header (user-specified or auto-generated)
@@ -1854,16 +1853,6 @@ def create_project_files
18541853 self . outputter . write ( rice_cpp , content )
18551854 end
18561855
1857- def create_def_file
1858- return unless @project
1859-
1860- # Create def file to export Init function
1861- def_name = "#{ project } .def"
1862- init_function = "Init_#{ project } "
1863-
1864- content = render_template ( "project.def" , :init_function => init_function )
1865- self . outputter . write ( def_name , content )
1866- end
18671856
18681857 def figure_method ( cursor )
18691858 name = cursor . kind . to_s . delete_prefix ( "cursor_" )
You can’t perform that action at this time.
0 commit comments