Skip to content
Snippets Groups Projects
Commit 3a8c8014 authored by Simon Rose's avatar Simon Rose
Browse files

Merge branch 'refactor_require_priv' into 'master'

E3-1066: Refactor require.c

See merge request e3/e3-require!132
parents c93e8570 949e71f2
No related branches found
No related tags found
1 merge request!132E3-1066: Refactor require.c
Pipeline #149956 passed
...@@ -13,11 +13,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -13,11 +13,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Fixed an issue where .template and .substitutions files with the same name would build incorrectly * Fixed an issue where .template and .substitutions files with the same name would build incorrectly
* Fixed an issue where filenames with spaces in them that had been modified * Fixed an issue where filenames with spaces in them that had been modified
in the wrapper would cause all of the module `make` commands to fail. in the wrapper would cause all of the module `make` commands to fail.
* Removed a number of memory leaks found by valgrind
### Other changes ### Other changes
* Replaced `tclx` script to expand .dbd files with a python script * Replaced `tclx` script to expand .dbd files with a python script
* Removed `hdrs` target. Note that this has been entirely replaced by the automatic db expansion. * Removed `hdrs` target. Note that this has been entirely replaced by the automatic db expansion.
* Removed ability to pass `args` to require (which have not been used within e3)
* Removed `require module,ifexists` option
* Stop require from looking in legacy locations for various files
## [5.0.0] ## [5.0.0]
......
This diff is collapsed.
...@@ -13,10 +13,7 @@ extern "C" { ...@@ -13,10 +13,7 @@ extern "C" {
#define __attribute__(dummy) #define __attribute__(dummy)
#endif // __GNUC__ #endif // __GNUC__
int require(const char *libname, const char *version, const char *args); int require(const char *libname, const char *version);
size_t foreachLoadedLib(size_t (*func)(const char *name, const char *version,
const char *path, void *arg),
void *arg);
const char *getLibVersion(const char *libname); const char *getLibVersion(const char *libname);
const char *getLibLocation(const char *libname); const char *getLibLocation(const char *libname);
int libversionShow(const char *outfile); int libversionShow(const char *outfile);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment