File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,10 @@ let direct_dependencies_with_internal files file_of =
303303 | `Internal -> List. mem Common. Internal flags
304304
305305 method! visit_DFunction env cc flags n_cgs n ret name binders body =
306+ (* KPrint.bprintf "function %a: concern us=%b %b %b \n" *)
307+ (* PrintAst.Ops.plid name *)
308+ (* (self#concerns_us flags) *)
309+ (* (List.mem Common.Internal flags) (List.mem Common.Private flags); *)
306310 if self#concerns_us flags then
307311 if is_inline_static name then
308312 super#visit_DFunction env cc flags n_cgs n ret name binders body
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ let write_h files public_headers (deps: Bundles.all_deps Bundles.StringMap.t) =
192192 let internal_headers = List. map (fun f -> " internal/" ^ f) internal in
193193 let headers =
194194 if Bundles.StringSet. mem name public_headers then
195- (" ../" ^ name) :: internal_headers
195+ (" ../" ^ name) :: public @ internal_headers
196196 else
197197 public @ internal_headers
198198 in
You can’t perform that action at this time.
0 commit comments