664:6a264fb5a367
667:10750eb0e8b8
|
2017-03-07 |
Paul Boddie |
changeset
files
shortlog
graph
|
Switched to using normal, named function parameters instead of arrays. This
requires a special function to convert any array-based arguments to the
positioned arguments. However, parameters no longer need to be dereferenced
when used in functions.
Specialised macros are required to invoke functions with different numbers of
parameters. Fortunately, the macros required can be deduced from the functions
defined in the program. |
normal-function-parameters |
|
generator.py templates/Makefile templates/native/buffer.c templates/native/buffer.h templates/native/common.c templates/native/common.h templates/native/iconv.c templates/native/iconv.h templates/native/identity.c templates/native/identity.h ...
|
|
663:8cae5848b191
664:6a264fb5a367 665:932a6b249199
|
2017-03-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted 196988ae83cb: targets may need unwrapping when obtaining functions. |
|
|
templates/ops.c
|
|
662:b8733c35d308
|
2017-03-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Incorporated __WITHIN within __HASATTR. |
|
|
templates/ops.c
|
|
661:124ed76ca4a8
|
2017-03-06 |
Paul Boddie |
changeset
files
shortlog
graph
|
Optimise the common case of having all positional parameters as arguments. |
|
|
templates/progops.c
|
|
660:fc5943513f3a
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed superfluous __TEST macro. |
|
|
templates/ops.h
|
|
659:4f77c6b2fc68
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed concatenated list size initialisation. |
|
|
templates/native/list.c
|
|
658:ef6dacfb0392
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a reasonable optimisation level. -O3 may provide slightly better
performance; -Os reduces the program size by a noticeable amount. |
|
|
templates/Makefile
|
|
657:196988ae83cb
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Targets should not need unwrapping again when obtaining functions. |
|
|
templates/ops.c templates/progops.c
|
|
656:cb4fd280007e
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Avoid unnecessary work by testing for the True value before any bool invocation. |
|
|
templates/progops.c
|
|
655:42adb63cda0e
|
2017-03-05 |
Paul Boddie |
changeset
files
shortlog
graph
|
Consolidated usage of basic attribute availability tests. |
|
|
templates/native/introspection.c templates/ops.c templates/ops.h
|
|