summaryrefslogtreecommitdiffhomepage
path: root/lexer.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-11 11:23:38 +0100
committerJo-Philipp Wich <jo@mein.io>2021-03-11 11:39:40 +0100
commita4785102dc58ce9c8facb716f18d3aaad0538cba (patch)
treece9a42990050bdc6e44fd751718e21d5878afa4f /lexer.c
parent40fed16a0beb0eb4af251f6375bd9002cf05e8c5 (diff)
object: prevent registering the same ressource type multiple times
When a module registering custom ressource types, such as "fs.so", is required multiple times we need to ensure that only one instance of a given ressource type is registered, otherwise objects created after subsequent requires will cease to function since the internal type prototype mismatches. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lexer.c')
0 files changed, 0 insertions, 0 deletions