Skip to content

Commit 9e0b01f

Browse files
committed
refactor: cocoa naming-convention
1 parent 5073247 commit 9e0b01f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Native/ReveryCocoa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void revery_setIconProgressIndeterminate_cocoa(void *dt);
2323
void revery_hideIconProgress_cocoa(void* ip);
2424

2525
/* Image functions */
26-
void *revery_makeImageFromAbsolutePath(const char *image_path_v);
26+
void *revery_makeImageFromAbsolutePath_cocoa(const char *image_path_v);
2727

2828
/* Open functions */
2929
int revery_openURL_cocoa(const char *url_string);

src/Native/image_cocoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#import <Cocoa/Cocoa.h>
66

7-
void *revery_makeImageFromAbsolutePath(const char *imagePath) {
7+
void *revery_makeImageFromAbsolutePath_cocoa(const char *imagePath) {
88
NSString *nsImagePath =
99
[NSString stringWithCString:imagePath encoding:NSUTF8StringEncoding];
1010

src/Native/tray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ CAMLprim value revery_makeTrayHandle(value imagePath_v) {
2929
if (imagePath_v != Val_none) {
3030
const char *imagePath = String_val(Some_val(imagePath_v));
3131

32-
NSImage *nsImage = revery_makeImageFromAbsolutePath(imagePath);
32+
NSImage *nsImage = revery_makeImageFromAbsolutePath_cocoa(imagePath);
3333

3434
statusItem.button.image = nsImage;
3535

0 commit comments

Comments
 (0)