Commit Graph

232 Commits

Author SHA1 Message Date
fbcbd84a1b Generate a unique ID for each inspected struct and member 2019-05-04 16:01:23 +10:00
35ac1b4c53 Replace , in templates to _ in code gen, allow disabling of generated files via #defines 2019-05-04 12:08:10 +10:00
5dacfc6ae1 Return boolean type directly in metadata functions 2019-05-03 21:53:20 +10:00
fbba79ee4a Change inspect function macro to DQN_INSPECT_FUNCTION 2019-05-03 20:23:14 +10:00
1890745719 Fix -1 inf loop, include comments in prototype inspect, fix unref type in inspect struct 2019-05-02 22:21:25 +10:00
1c573478c6 Support basic container template introspection 2019-05-02 20:39:31 +10:00
bb9fd123e3 Store the compile time size of struct members 2019-04-22 16:00:33 +10:00
f0684b4113 Fix bug not correctly parsing template expression 2019-04-22 15:41:22 +10:00
98f0402916 Add more metadata to struct members 2019-04-22 15:41:05 +10:00
b9c4b080f2 Store the pod_struct_offset of members 2019-04-22 02:18:28 +10:00
455d9bcbfc Save the decl type in struct members as well 2019-04-22 01:28:59 +10:00
c444d50d17 Fix some ordering issues 2019-04-06 01:30:09 +11:00
41ac05b401 Implement DqnInspectEnum_Count function 2019-04-05 23:18:54 +11:00
3c447706c9 Finish metadata system for struct members, fix parsing bugs for consts 2019-04-05 23:09:07 +11:00
4a794b2492 Begin drafting up improved parsing/metadata reflection 2019-04-05 01:03:46 +11:00
a6c05a950e Allow arbitrary meta properties on enum fields 2019-04-01 00:51:14 +11:00
40f72c576e Return string length for enum strings 2019-03-24 16:09:20 +11:00
a38ef363db Align nicely generated prototypes to ease reading 2019-03-24 16:02:41 +11:00
a91eb241c4 Add msvc project file 2019-03-23 16:41:59 +11:00
a2c4ca02a9 Add support for var args as a function parameter 2019-03-23 16:41:22 +11:00
b61ad4a51a Add support for funciton default param initialiser 2019-03-23 16:08:12 +11:00
2f750ecc52 Support templates in function arguments 2019-03-21 00:52:31 +11:00
f2cbbc3a8c Support more complex function return types 2019-02-26 23:23:43 +11:00
a325ea6130 Add macro for inspecting prototypes, fix string default val bug 2019-02-26 02:29:31 +11:00
b298eae175 Add ability to auto generate function prototypes 2019-02-26 02:15:51 +11:00
bdb6ca3352 Remove old readme 2019-02-23 15:42:11 +11:00
e9f824ee08 Move readme to root 2019-02-23 15:41:53 +11:00
021c65316e Add readme 2019-02-23 15:41:14 +11:00
da955dbb73 Update examples and documentation 2019-02-23 15:23:40 +11:00
db04f7d9f0 Add partial template parsing 2019-02-23 14:59:03 +11:00
5297511118 Partial support for fixed sized arrays 2019-02-23 14:38:41 +11:00
13ed8b71c9 Update test file to be more compliant 2019-02-23 14:22:09 +11:00
a44603d3ca Support pointer asterisks syntax 2019-02-23 14:04:35 +11:00
2acaebaf77 Handle const struct declarations 2019-02-23 13:19:36 +11:00
51d30eb3bd Support comma separated decls in struct 2019-02-23 13:03:10 +11:00
83802fcde3 Update test file to use updated macros 2019-02-23 12:32:08 +11:00
97b81bceaf Rename to DqnInspect, clean up, better docs 2019-02-23 12:26:19 +11:00
a0caf1296d Correctly generate valid CPP reflected metadata 2019-02-23 12:03:36 +11:00
dc73407721 Flesh out DqnReflect_StructMember to support metadata 2019-02-23 02:25:19 +11:00
e5e699c05f Unify linked list for cpp decls 2019-02-23 01:54:27 +11:00
2cd7acaacb Add basic CPP struct reflection 2019-02-22 23:15:39 +11:00
28a1fe8b24 Add DqnReflect, deprecate old library
They're horrible. I'm able to write better versions now.
2019-02-21 00:22:21 +11:00
a38d7a7cb7 Tweak dqn logger display and printing 2018-12-16 02:23:04 +11:00
2134b56ed6 Fix old reference to Dqn_vsnprintf 2018-12-16 02:02:08 +11:00
8ba888c5e1 Add buffer helper 2018-12-16 01:58:11 +11:00
b1c7763ec6 Don't decorate stbsp 2018-12-13 00:36:19 +11:00
1d62894f75 Greatly simplify DqnFixedString 2018-12-13 00:23:02 +11:00
20fc9cbbaf Fix dqn lib and misc bugs 2018-09-13 23:58:48 +10:00
650126f039 Revamp memory allocation system 2018-09-10 22:49:17 +10:00
Doyle
fd228d092b Head/Tail adaptive memory stack push 2018-09-03 00:02:32 +10:00