Comments (10)
Interesting! I cloned your project, and found the script that made the config.ld. And (of course) the thing is working OK, because these two functions are considered to be functions in the Blitzwizard module!
I would have preferred it to misbehave ;) There are some 'not found' references which I'll look at.. I do remember that the master module thing is sensitive to ordering of the file list.
...
found master module d:\kool\blitwizard\src\luafuncs.c
found master module d:\kool\blitwizard\src\luafuncs.c
usage:14: function or section not found: blitwizard.graphics.getDefaultCamera in blitwizard.graphics blitwizard.graphics.getDefaultCamera
usage:14: function or section not found: blitwizard.graphics.camera:gameUnitsPerPixel in blitwizard.graphics blitwizard.graphics.camera:gameUnitsPerPixel
d:\kool\blitwizard\src\luafuncs_objectphysics.c:508: object:enableMovableCollision: function not found: object:shape_info in this module object:shape_info
d:\kool\blitwizard\src\luafuncs_objectphysics.c:519: object:enableStaticCollision: function not found: object:shape_info in this module object:shape_info
d:\kool\blitwizard\src\luafuncs_media_object.c:438: positionedSound:new: function not found: position in this module position
output written to d:\kool\blitwizard\docs
from ldoc.
So it works for you? I can see if there is any update to pull, but I believe to be on the latest master...
The missing two references in objectphysics don't appear here (and shouldn't!). The other missing references are "intentional", I haven't implemented and described those yet.
from ldoc.
I suspect it has to do with ordering. The file which is intended to be the 'master module' should be seen first. Perhaps on Windows your script gave me another ordering? I'll try that tomorrow.
from ldoc.
Sorry for that script btw :) it takes the files out of src/Makefile.am since I didn't want to write the list of all source files twice into a text file and update it in both places.
So the file list not magically generated or anything, just copied from src/Makefile.am since I'm lazy! (in fact, the script SHOULD also always end up with the same order. Not that I would have paid attention to that when writing it..)
from ldoc.
Just as a small update, the issue is still present with the most recent ldoc version (pulled a few moments ago).
"loadResourceArchive" is planted onto the "object" class type, while it is just in the "blitwizard" module (see luafuncs.c and verify for yourself). Same for "setStep" in the same file.
from ldoc.
Use this zip to reproduce the bug: http://www.blitwizard.de/temp/reproduce.zip
Check if "loadResourceArchives" is planted onto the "object" class type in the "blitwizard" module (it shouldn't be, instead it should be a separate function in the "blitwizard" module, and not part of any class type).
If I can help with anything else, let me know.
from ldoc.
Yep, I can confirm that it does indeed plant it in the wrong place. This is cool, since what can reproduce is what I can fix ....
from ldoc.
OK, here's the quick fix, while I think of the best way to fix this properly; swop luafuncs.c and luafuncs_object.c around in config.ld
. It's using luafuncs_object as the master module and merging stuff into the type object
section.
The proper fix involves not re-using the section, let's see...
from ldoc.
Try out latest commit, see if your docs look exactly like you need them ;)
from ldoc.
Works perfectly now, thanks a lot :) :)
from ldoc.
Related Issues (20)
- Part after dot is ignored HOT 2
- How to add description of example script HOT 1
- @type changes behavior when used in @submodule HOT 5
- LuaRocks module: broken link to project homepage HOT 2
- How to use @script tag? HOT 2
- Filename case issues for cross-platform document generation HOT 5
- --fatalwarnings returns 0 exit code with invalid Markdown references
- Error message on invalid tag somewhat obtuse and doesn't point out the issue being the undefined tag HOT 10
- LDoc breaks when loading config file. HOT 2
- [Meta] Is this repo dead? HOT 2
- How do I ignore certain files/directories? HOT 2
- `hxx` extension support HOT 2
- multiple raise statements cause error HOT 6
- Support nested subparams HOT 2
- Question: is there a way to generate document from lua-language-server type annotations?
- Add LuaCATS as alternative tag handling scheme HOT 4
- document nested tables? HOT 2
- Non user friendly error message
- Feature: Run ldoc on a single target file with same behavior as targeting a directory HOT 3
- Feature: Only update docs for modified files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldoc.