Changeset 4675


Ignore:
Timestamp:
Jul 15, 2015, 5:03:33 PM (4 years ago)
Author:
nmedfort
Message:

Modification to pass output value by ref and accept a dummy carry pointer.

Location:
proto/charsetcompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/Makefile

    r4428 r4675  
    99PABLO_COMPILER=../Compiler/pablomain.py
    1010PABLO_ADD_DEBUG = # -a -b
     11UCD_COMPILER=generate_UCD_property_functions.py
     12
     13functions:
     14        python $(UCD_COMPILER)
    1115
    1216header:
     
    3438        python $(PABLO_COMPILER) PropList.pablo -Z -t precompiled_proplist.cpp -o src/precompiled_proplist.cpp
    3539
     40all: functions gc sc scx blk core proplist
  • proto/charsetcompiler/generate_UCD_property_functions.py

    r4637 r4675  
    1919
    2020extern "C" {
    21     BitBlock __get_${property}_${value} (Basis_bits & basis_bits) {
    22         Struct_${property}_${value} output;
     21    void __get_${property}_${value} (Basis_bits & basis_bits, BitBlock * /* carryFramePtr */, Struct_${property}_${value} & output) {
    2322        f${property}_${value} . do_block(basis_bits, output);
    24         return output.cc;
    2523    }
    2624}
     
    10199    def generate_ScriptExtensions_pablo(self):
    102100        filename_root = 'ScriptExtensions'
    103         property_code = 'scx'
    104101        vlist = self.property_value_list['sc']
    105102        (prop_values, value_map) = parse_ScriptExtensions_txt(vlist, self.property_value_lookup_map['sc'])
Note: See TracChangeset for help on using the changeset viewer.