Current section

Files

Jump to
erlang_python c_src py_util.c
Raw

c_src/py_util.c

/*
* Copyright 2026 Benoit Chesneau
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* py_util.c - Common utility function implementations
*
* This file is included directly by py_nif.c after py_util.h.
* Currently all utilities are header-only (inline functions and macros).
* This file exists for future non-inline utility functions.
*/
/* All utilities are currently defined in py_util.h as inline functions
* or macros. This file serves as a placeholder for future implementations
* that need separate compilation. */