https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
z

zt

03/02/2024, 5:14 AM
I have an expect declaration and for the actual declarations would it make sense to mark them as inline, like for example in my native sourceset
Copy code
public actual fun getTimeNs(): Long = mpv_get_time_ns(handle)
    public actual fun getTimeUs(): Long = mpv_get_time_us(handle)
Wouldn't making them inline allow for quicker execution time?
2 Views