view include/animone/util/osx.h @ 5:6d6d2b51517b

chore: merge
author Paper <paper@paper.us.eu.org>
date Fri, 12 Apr 2024 05:23:45 -0400
parents cce3a81b03bf
children
line wrap: on
line source

#ifndef ANIMONE_ANIMONE_UTIL_OSX_H_
#define ANIMONE_ANIMONE_UTIL_OSX_H_

#include "animone/types.h"
#include <cstdint>
#include <string>
#include <memory>

#include <CoreFoundation/CoreFoundation.h>

namespace animone::internal::osx::util {

bool GetProcessName(pid_t pid, std::string& result);

} // namespace animone::internal::osx::util

#endif // ANIMONE_ANIMONE_UTIL_OSX_H_