Skip to content

Commit

Permalink
kram-profile - fix UTType handling
Browse files Browse the repository at this point in the history
These are .json, but need to conform to .data for some odd reason
  • Loading branch information
alecazam committed Feb 21, 2024
1 parent eaf1743 commit abd96de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions kram-profile/kram-profile/kram_profileApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ struct kram_profileApp: App {
var fileTypes: [UTType] = [
// .plainText, .zip
.json, // clang build files
UTType(tag:"trace", tagClass: .filenameExtension, conformingTo:.json)!,
UTType(tag:"vmatrace", tagClass: .filenameExtension, conformingTo:.json)!
UTType(filenameExtension:"trace", conformingTo:.data)!,
UTType(filenameExtension:"vmatrace", conformingTo:.data)!
]

var body: some Scene {
Expand Down
7 changes: 4 additions & 3 deletions libkram/kram/KramConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@
#define COMPILE_EASTL 0
#endif

#ifndef COMPILE_FASTL
#define COMPILE_FASTL 0
#endif
// eliminate this
//#ifndef COMPILE_FASTL
//#define COMPILE_FASTL 0
//#endif

// basis transcoder only (read not writes)
#ifndef COMPILE_BASIS
Expand Down

0 comments on commit abd96de

Please sign in to comment.