File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Sources/OpenAttributeGraphCxx/DebugServer Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ while [[ $# -gt 0 ]]; do
6464done
6565
6666SCRIPT_ROOT=" $( dirname $( dirname $( filepath $0 ) ) ) "
67- OAG_REPO_DIR=" $SCRIPT_ROOT /.og_repo "
67+ OAG_REPO_DIR=" $SCRIPT_ROOT /.oag_repo "
6868OPENATTRIBUTEGRAPH_ROOT=" $OAG_REPO_DIR "
6969AG_REPO_DIR=" $SCRIPT_ROOT /.ag_repo"
7070
@@ -184,4 +184,4 @@ gh pr create \
184184 --base main
185185
186186echo " ✅ PR created successfully!"
187- echo " Branch: update-ag-$TARGET_BRANCH "
187+ echo " Branch: update-ag-$TARGET_BRANCH "
Original file line number Diff line number Diff line change 3030
3131OAG_EXTERN_C_BEGIN
3232// DYLD_INTERPOSE does not work. Directly use the hook one here to match the semantics.
33- bool og_variant_has_internal_diagnostics (const char *subsystem);
33+ bool oag_variant_has_internal_diagnostics (const char *subsystem);
3434OAG_EXTERN_C_END
3535
3636// MARK: DebugServer public API Implementation
265265 if (
266266 (mode & OAGDebugServerModeValid)
267267 && !OAG::DebugServer::has_shared_server ()
268- && og_variant_has_internal_diagnostics (" org.OpenSwiftUIProject.OpenAttributeGraph" )
268+ && oag_variant_has_internal_diagnostics (" org.OpenSwiftUIProject.OpenAttributeGraph" )
269269 ) {
270270 _shared_server = new DebugServer (mode);
271271 }
Original file line number Diff line number Diff line change 1111extern bool os_variant_has_internal_diagnostics (const char * subsystem );
1212#endif
1313
14- bool og_variant_has_internal_diagnostics (const char * subsystem ) {
14+ bool oag_variant_has_internal_diagnostics (const char * subsystem ) {
1515 if (strcmp (subsystem , "org.OpenSwiftUIProject.OpenAttributeGraph" ) == 0 ) {
1616 return true;
1717 } else if (strcmp (subsystem , "com.apple.AttributeGraph" ) == 0 ) {
@@ -30,5 +30,5 @@ bool og_variant_has_internal_diagnostics(const char *subsystem) {
3030 __attribute__((used)) static struct{ const void* replacement; const void* replacee; } _interpose_##_replacee \
3131 __attribute__ ((section ("__DATA,__interpose"))) = { (const void*)(unsigned long)&_replacement, (const void*)(unsigned long)&_replacee };
3232
33- DYLD_INTERPOSE (og_variant_has_internal_diagnostics , os_variant_has_internal_diagnostics )
33+ DYLD_INTERPOSE (oag_variant_has_internal_diagnostics , os_variant_has_internal_diagnostics )
3434#endif
You can’t perform that action at this time.
0 commit comments