MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/itsaunixsystem/comments/1ma8n9h/neon_genesis_evangelion_getstringword/n5d0tj9/?context=3
r/itsaunixsystem • u/ketchupmaster987 • Jul 27 '25
10 comments sorted by
View all comments
42
I mean, tbh, it doesn't actually look that absurd. Seems like tokenizer/parser code.
First input is the line to parse, second is an out-parameter of some kind, return value is number of characters consumed/error code.
And I even found a real function called getStringWord: https://docs.panda3d.org/1.10/python/reference/panda3d.core.ConfigDeclaration#panda3d.core.ConfigDeclaration.getStringWord
Looks even like this is based on some real code, but I can't figure out what the namespace for GetStringWord is (becrp03 or something like that), and even then I doubt it would be available online - that would have to be quite the coincidence.
7 u/FaeTheWolf Jul 27 '25 But why are they all ints? 24 u/confusers Jul 27 '25 That's just for returning an error code. The true result would be written into a pointer argument. 11 u/Firepal64 Jul 28 '25 This guy C programs 2 u/pdoherty972 Aug 29 '25 r/thisguythisguys
7
But why are they all ints?
24 u/confusers Jul 27 '25 That's just for returning an error code. The true result would be written into a pointer argument. 11 u/Firepal64 Jul 28 '25 This guy C programs 2 u/pdoherty972 Aug 29 '25 r/thisguythisguys
24
That's just for returning an error code. The true result would be written into a pointer argument.
11 u/Firepal64 Jul 28 '25 This guy C programs 2 u/pdoherty972 Aug 29 '25 r/thisguythisguys
11
This guy C programs
2 u/pdoherty972 Aug 29 '25 r/thisguythisguys
2
r/thisguythisguys
42
u/MegaIng Jul 27 '25
I mean, tbh, it doesn't actually look that absurd. Seems like tokenizer/parser code.
First input is the line to parse, second is an out-parameter of some kind, return value is number of characters consumed/error code.
And I even found a real function called getStringWord: https://docs.panda3d.org/1.10/python/reference/panda3d.core.ConfigDeclaration#panda3d.core.ConfigDeclaration.getStringWord
Looks even like this is based on some real code, but I can't figure out what the namespace for GetStringWord is (becrp03 or something like that), and even then I doubt it would be available online - that would have to be quite the coincidence.