Changeset accc9df9


Ignore:
Timestamp:
May 13, 2022, 4:50:55 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
789f279
Parents:
0aa4beb
Message:

Visibility containers lib

Location:
libcfa/src/containers
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/containers/maybe.cfa

    r0aa4beb raccc9df9  
    1717#include <assert.h>
    1818
     19#pragma GCC visibility push(default)
    1920
    2021forall(T)
  • libcfa/src/containers/result.cfa

    r0aa4beb raccc9df9  
    1717#include <assert.h>
    1818
     19#pragma GCC visibility push(default)
    1920
    2021forall(T, E)
  • libcfa/src/containers/string.cfa

    r0aa4beb raccc9df9  
    1818#include <stdlib.hfa>
    1919
     20#pragma GCC visibility push(default)
    2021
    2122/*
  • libcfa/src/containers/string_sharectx.hfa

    r0aa4beb raccc9df9  
    1616#pragma once
    1717
     18#pragma GCC visibility push(default)
     19
    1820//######################### String Sharing Context #########################
    1921
    2022struct VbyteHeap;
    2123
    22 // A string_sharectx 
     24// A string_sharectx
    2325//
    2426// Usage:
  • libcfa/src/containers/vector.cfa

    r0aa4beb raccc9df9  
    1818#include <stdlib.hfa>
    1919
     20#pragma GCC visibility push(default)
     21
    2022forall(T, allocator_t | allocator_c(T, allocator_t))
    21 void copy_internal(vector(T, allocator_t)* this, vector(T, allocator_t)* other);
     23static void copy_internal(vector(T, allocator_t)* this, vector(T, allocator_t)* other);
    2224
    2325//------------------------------------------------------------------------------
     
    8385
    8486forall(T, allocator_t | allocator_c(T, allocator_t))
    85 void copy_internal(vector(T, allocator_t)* this, vector(T, allocator_t)* other)
     87static void copy_internal(vector(T, allocator_t)* this, vector(T, allocator_t)* other)
    8688{
    8789        this->size = other->size;
Note: See TracChangeset for help on using the changeset viewer.