mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
- Since we have style rules to include foo.hpp at the top of its corresponding foo.cpp, this takes any headers included by foo.hpp as being also guaranteed for foo.cpp. - Use C-style <foo.h> instead of <cfoo>, since the latter only guarantees putting symbols in the `std` namespace, which we are not using for C functions (e.g. `printf` not `std::printf`). - Remove now-unused `__PRETTY_FUNCTION__` reporting
25 lines
548 B
C++
25 lines
548 B
C++
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef RGBDS_LINK_OBJECT_H
|
|
#define RGBDS_LINK_OBJECT_H
|
|
|
|
/*
|
|
* Read an object (.o) file, and add its info to the data structures.
|
|
* @param fileName A path to the object file to be read
|
|
* @param i The ID of the file
|
|
*/
|
|
void obj_ReadFile(char const *fileName, unsigned int i);
|
|
|
|
/*
|
|
* Evaluate all assertions
|
|
*/
|
|
void obj_CheckAssertions();
|
|
|
|
/*
|
|
* Sets up object file reading
|
|
* @param nbFiles The number of object files that will be read
|
|
*/
|
|
void obj_Setup(unsigned int nbFiles);
|
|
|
|
#endif // RGBDS_LINK_OBJECT_H
|