MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / _glfw_strdup

Function _glfw_strdup

extern/glfw/src/init.c:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114//////////////////////////////////////////////////////////////////////////
115
116char* _glfw_strdup(const char* source)
117{
118 const size_t length = strlen(source);
119 char* result = calloc(length + 1, 1);
120 strcpy(result, source);
121 return result;
122}
123
124float _glfw_fminf(float a, float b)
125{

Callers 8

getSelectionStringFunction · 0.85
_glfwAllocJoystickFunction · 0.85
_glfwAllocMonitorFunction · 0.85
outputHandleGeometryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected