32 Commits

Author SHA1 Message Date
6cb2888281 Added meta data, attributes, to C structure members. 2019-06-25 03:14:38 -04:00
ecb382c0c3 Added a macro for wrapping C STD lib functions. 2019-06-25 02:53:19 -04:00
3bc41bae4f Adding macro definitions for declaring C structures and pointers. 2019-06-25 02:31:18 -04:00
95361a80e2 Finally nailed down the syntax of the external_library macro. 2019-06-25 01:52:27 -04:00
4028c5c618 Expanding varargs. 2019-06-24 23:25:44 -04:00
124d2751db macro testing. 2019-06-24 22:41:41 -04:00
0c199d5ae3 macro testing. 2019-06-24 22:39:52 -04:00
01e8d8f5d5 testing macro 2019-06-24 22:35:07 -04:00
d471549411 Macro test. 2019-06-24 22:32:21 -04:00
e61c829339 Testing a macro ending. 2019-06-24 22:29:48 -04:00
100d73e09d Adding function argument name. 2019-06-24 22:23:59 -04:00
3878c21ad9 Adding function argument names for better reading. 2019-06-24 22:22:10 -04:00
1e30d2b14c Had to change the link type to expr and add a symbol after it. 2019-06-24 22:09:36 -04:00
1339506fad Changes the link type to a ty instead of ident. 2019-06-24 22:07:11 -04:00
9e1fee89ad Adding a macro to give structure to the linking of external libraries. 2019-06-24 21:04:52 -04:00
9d2c092463 Mistyped the configuration option. 2019-06-24 20:03:13 -04:00
d148130612 Adding the CString wrapping functionality.
This is currently just wrapping the rust standard library. This should
later become our own implementation.
2019-06-24 19:55:35 -04:00
2d6bed361e Rust 2018 fixes.
Removed the extern crate calls that were no longer required.
2019-01-21 21:08:26 -05:00
9de70a24f7 Removed the CIChar type. 2019-01-20 19:45:08 -05:00
53c8590a40 The c_flags macro now uses the attempt macro instead of the old try macro. 2019-01-20 18:50:43 -05:00
7fcc81dedb Fixed the library to use the new Rust 2018 module system. 2019-01-19 23:48:55 -05:00
824605a198 A CLongLong is a signed type, not unsigned. 2018-04-15 02:47:03 -04:00
cc4a6fe411 Just adding some programmer notes. 2018-04-14 16:39:52 -04:00
622808879f Merge branch 'master' of gitlab.com:CyberMages/Core/binding 2018-04-12 23:09:08 -04:00
cab5040f22 Just passing the enum debug on to the enum display function.
This should probably be changed later, but for now it will work alright.
2018-04-12 23:08:29 -04:00
Jason Smith
d408d4b239 Fixed up some of the code for c_enums and c_flags. Also added examples. 2017-08-24 14:02:53 -04:00
8b5d5a9c57 Adjusting the Display implementation.
Display will automatically implement the to_string functionality, so the
explicit implementation was removed.
2017-05-11 16:49:46 -04:00
8efb6fedff Just fixing some comments. 2017-04-06 17:28:02 -04:00
ae902d1508 Adjusting the repository position. 2017-04-06 13:01:40 -04:00
cdc3be4832 Added the ability to pass the use_std feature on to the scribe library. 2017-03-01 19:01:41 -05:00
26097e8403 Adding the basic c_types as their own file section.
Also, added the to_c_string and from_c_string functions. Their
location needs to be determined.
2017-01-24 14:55:42 -05:00
ca780e71ef Initial library commit. 2017-01-06 19:10:10 -05:00